diff options
author | Bob Manson <manson@cygnus> | 1997-03-29 19:24:07 +0000 |
---|---|---|
committer | Bob Manson <manson@cygnus> | 1997-03-29 19:24:07 +0000 |
commit | d8482235481291de2b487e5ecc586a5470913a50 (patch) | |
tree | 140e783ba15ad6acb6f7afd4f4e7b6a61c936dd1 /gdb | |
parent | cd6a44090f0deea3c5705c1c92236d52c3bf3c00 (diff) | |
download | gdb-d8482235481291de2b487e5ecc586a5470913a50.zip gdb-d8482235481291de2b487e5ecc586a5470913a50.tar.gz gdb-d8482235481291de2b487e5ecc586a5470913a50.tar.bz2 |
* config/monitor.exp: Use gdb_serial in preference to serial
or netport.
* lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
and it's not already set.
* gdb.base/setshow.exp: Only test the run command if the target
isn't using a stub and if it supports argument passing.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 19 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/setshow.exp | 14 |
2 files changed, 28 insertions, 5 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 8552d1a..0d6a4a6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,8 +1,27 @@ +Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com> + + * config/monitor.exp: Use gdb_serial in preference to serial + or netport. + + * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host + and it's not already set. + +Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com> + + * gdb.base/setshow.exp: Only test the run command if the target + isn't using a stub and if it supports argument passing. + Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com> * config/udi.exp(gdb_start): Make sure UDICONF is set properly before starting gdb. +Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com) + + * gdb.disasm/mn10300.s: New test file for mn10300 disassembler. + * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests. + * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning. + Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com> * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use diff --git a/gdb/testsuite/gdb.base/setshow.exp b/gdb/testsuite/gdb.base/setshow.exp index a23d9b7..4f93e1b 100644 --- a/gdb/testsuite/gdb.base/setshow.exp +++ b/gdb/testsuite/gdb.base/setshow.exp @@ -1,4 +1,4 @@ -# Copyright (C) 1992, 1994 Free Software Foundation, Inc. +# Copyright (C) 1992, 1994, 1997 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 @@ -12,7 +12,7 @@ # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # Please email any bugs, comments, and/or additions to this file to: # bug-gdb@prep.ai.mit.edu @@ -92,9 +92,13 @@ gdb_test "info line 1" "Line 1 of .* is at address .* but contains no code.*" " #test set args gdb_test "set args foo bar blup baz bubble" "" "set args" #test show args -gdb_test "show args" "Arguments to give program being debugged when it is started is \"foo bar blup baz bubble\"..*" "show args" -#test passing args -gdb_test "run" "Starting program:.*foo bar blup baz bubble.*" "passing args" +gdb_test "show args" "Arguments to give program being debugged when it is started is \"foo bar blup baz bubble\"..*" "show args" + +# Don't test if we can't pass args or if we're using a stub. +if { ![target_info gdb,use_stub] && ![target_info gdb,noargs] } { + #test passing args + gdb_test "run" "Starting program:.*foo bar blup baz bubble.*" "passing args" +} #test set check range on gdb_test "set check range on" "" "set check range on" #test show check range on |