This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] ending-run.exp


This was approved ages ago, but the contributor did not have check-in
after approval privileges and I forgot to check it in.

It is related to remote targets that use the bsp.

It is in now.


2001-02-19  Fernando Nasser  <fnasser@redhat.com>

	From  Drew Moseley  <dmoseley@redhat.com>
        * gdb.base/ending-run.exp: Properly handle the BSP state when
        stepping past the end of main.



Index: gdb/testsuite/gdb.base/ending-run.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/ending-run.exp,v
retrieving revision 1.3
diff -c -p -r1.3 ending-run.exp
*** ending-run.exp	2000/10/17 20:00:21	1.3
--- ending-run.exp	2001/02/19 21:12:31
***************
*** 1,4 ****
! # Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
  
  # This program is free software; you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
--- 1,4 ----
! # Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
  
  # This program is free software; you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
*************** gdb_expect {
*** 150,155 ****
--- 150,158 ----
  		gdb_test "n" ".*" ""
  	    }
  	    -re ".*in.*start.*$gdb_prompt $" { 
+ 		pass "step out of main"
+ 	    }
+ 	    -re ".*in.*bsp_trap.*$gdb_prompt $" { 
  		pass "step out of main"
  	    }
  	    -re ".*in.*init.*$gdb_prompt $" { 


-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]