aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-09-29 15:08:52 +0000
committerDaniel Jacobowitz <drow@false.org>2003-09-29 15:08:52 +0000
commitc9d37158ccdd30b3c65f7a50b87e1ab412ac8c34 (patch)
tree9a1dddaa710ed62d9a2c0511de365be28de31bb7
parente28a332c04863887b841fdd1a9042f78ea7a8264 (diff)
downloadgdb-c9d37158ccdd30b3c65f7a50b87e1ab412ac8c34.zip
gdb-c9d37158ccdd30b3c65f7a50b87e1ab412ac8c34.tar.gz
gdb-c9d37158ccdd30b3c65f7a50b87e1ab412ac8c34.tar.bz2
* ChangeLog: Correct an entry command.exp -> commands.exp.
* gdb.base/commands.exp (bp_deleted_in_command_test) (temporary_breakpoint_commands): Check noargs.
-rw-r--r--gdb/testsuite/ChangeLog8
-rw-r--r--gdb/testsuite/gdb.base/commands.exp12
2 files changed, 18 insertions, 2 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5c18f82..e67ae6b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2003-09-29 Daniel Jacobowitz <drow@mvista.com>
+
+ * ChangeLog: Correct an entry command.exp -> commands.exp.
+ * gdb.base/commands.exp (bp_deleted_in_command_test)
+ (temporary_breakpoint_commands): Check noargs.
+
2003-09-25 David Carlton <carlton@kealia.com>
* gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
@@ -1389,7 +1395,7 @@
2002-09-14 Corinna Vinschen <vinschen@redhat.com>
- * gdb.base/command.exp: Don't expect a "Program exited normally"
+ * gdb.base/commands.exp: Don't expect a "Program exited normally"
string after running the commands execution on breakpoint tests.
2002-09-13 Corinna Vinschen <vinschen@redhat.com>
diff --git a/gdb/testsuite/gdb.base/commands.exp b/gdb/testsuite/gdb.base/commands.exp
index d35353d..93ddd7e 100644
--- a/gdb/testsuite/gdb.base/commands.exp
+++ b/gdb/testsuite/gdb.base/commands.exp
@@ -1,5 +1,5 @@
# Copyright 1988, 1990, 1991, 1992, 1994, 1995, 1997, 1998, 1999, 2000,
-# 2001 Free Software Foundation, Inc.
+# 2001, 2002, 2003 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
@@ -443,6 +443,11 @@ proc deprecated_command_test {} {
proc bp_deleted_in_command_test {} {
global gdb_prompt
+ if [target_info exists noargs] {
+ verbose "Skipping bp_deleted_in_command_test because of noargs."
+ return
+ }
+
gdb_test "set args 1" "" "set args in bp_deleted_in_command_test"
delete_breakpoints
@@ -504,6 +509,11 @@ proc bp_deleted_in_command_test {} {
proc temporary_breakpoint_commands {} {
global gdb_prompt
+ if [target_info exists noargs] {
+ verbose "Skipping temporary_breakpoint_commands because of noargs."
+ return
+ }
+
gdb_test "set args 1" "" "set args in temporary_breakpoint_commands"
delete_breakpoints