]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdb.gdb/observer.exp (test_normal_stop_notifications): Update
authorJoel Brobecker <brobecker@gnat.com>
Fri, 16 Apr 2004 17:29:43 +0000 (17:29 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 16 Apr 2004 17:29:43 +0000 (17:29 +0000)
        call to observer_notify_normal_stop.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.gdb/observer.exp

index 319c6a0c617abc5cb53b7dd6a30863d39623a962..c34838b753908ca22b8630a4697d576385f9836f 100644 (file)
@@ -1,3 +1,8 @@
+2004-04-16  Joel Brobecker  <brobecker@gnat.com>
+
+       * gdb.gdb/observer.exp (test_normal_stop_notifications): Update
+       call to observer_notify_normal_stop.
+
 2004-04-15  Andrew Cagney  <cagney@redhat.com>
 
        * gdb.base/siginfo.c: New file.
index 80ab29a05b5d24fb6ebf4bc635ee6a9e6926316a..c36d46126d4ce4e426960475db0cdc4004245d93 100644 (file)
@@ -153,7 +153,10 @@ proc reset_counters { } {
 
 proc test_normal_stop_notifications { first second third message } {
     reset_counters
-    gdb_test "call observer_notify_normal_stop ()" "" \
+    # Call observer_notify_normal_stop.  Note that this procedure
+    # takes one argument, but this argument is ignored by the observer
+    # callbacks we have installed.  So we just pass an arbitrary value.
+    gdb_test "call observer_notify_normal_stop (0)" "" \
              "sending notification ($message)"
     check_counters $first $second $third $message
 }