aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2004-04-16 17:29:43 +0000
committerJoel Brobecker <brobecker@gnat.com>2004-04-16 17:29:43 +0000
commit9099067423c7ac81df1fe675c5b4ecf7aa2c8a40 (patch)
treeaa345ef3b6d3d2d9708e0d39eda7293a39e07bad /gdb/testsuite
parente0270fd9c1ec26ff51a70c53e46a3d523cdd65d2 (diff)
downloadgdb-9099067423c7ac81df1fe675c5b4ecf7aa2c8a40.zip
gdb-9099067423c7ac81df1fe675c5b4ecf7aa2c8a40.tar.gz
gdb-9099067423c7ac81df1fe675c5b4ecf7aa2c8a40.tar.bz2
* gdb.gdb/observer.exp (test_normal_stop_notifications): Update
call to observer_notify_normal_stop.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.gdb/observer.exp5
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 319c6a0..c34838b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -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.
diff --git a/gdb/testsuite/gdb.gdb/observer.exp b/gdb/testsuite/gdb.gdb/observer.exp
index 80ab29a..c36d461 100644
--- a/gdb/testsuite/gdb.gdb/observer.exp
+++ b/gdb/testsuite/gdb.gdb/observer.exp
@@ -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
}