* ChangeLog: Correct an entry command.exp -> commands.exp.
authorDaniel Jacobowitz <drow@false.org>
Mon, 29 Sep 2003 15:08:52 +0000 (15:08 +0000)
committerDaniel Jacobowitz <drow@false.org>
Mon, 29 Sep 2003 15:08:52 +0000 (15:08 +0000)
* gdb.base/commands.exp (bp_deleted_in_command_test)
(temporary_breakpoint_commands): Check noargs.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/commands.exp

index 5c18f82..e67ae6b 100644 (file)
@@ -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
 
 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>
index d35353d..93ddd7e 100644 (file)
@@ -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