* 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.
This commit is contained in:
parent
cd6a44090f
commit
d848223548
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user