From d8482235481291de2b487e5ecc586a5470913a50 Mon Sep 17 00:00:00 2001 From: Bob Manson Date: Sat, 29 Mar 1997 19:24:07 +0000 Subject: [PATCH] * 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. --- gdb/testsuite/ChangeLog | 19 +++++++++++++++++++ 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 8552d1a545c..0d6a4a6d388 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,8 +1,27 @@ +Sat Mar 29 11:19:46 1997 Bob Manson + + * 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 + + * 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 * 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 * 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 a23d9b7599c..4f93e1b22ef 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 -- 2.30.2