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] Allow jump.exp test to run for all targets.


This little test for the "jump" command was only running on native targets, 
apparently because of a concern that runto_main would not work (which it does).

Tested against "target sim" and "target remote", and checked in as obvious.
2001-10-30  Michael Snyder  <msnyder@redhat.com>

	* gdb.base/jump.exp: Allow it to run for all targets.

Index: jump.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/jump.exp,v
retrieving revision 1.2
diff -c -3 -p -r1.2 jump.exp
*** jump.exp	2001/03/06 08:21:50	1.2
--- jump.exp	2001/10/31 02:35:32
*************** if $tracelevel then {
*** 24,34 ****
  set prms_id 0
  set bug_id 0
  
- # are we on a target board
- if ![isnative] then {
-   return 0
- }
- 
  clear_xfail "*-*-*"
  
  set testfile "jump"
--- 24,29 ----

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