From 9099067423c7ac81df1fe675c5b4ecf7aa2c8a40 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 16 Apr 2004 17:29:43 +0000 Subject: * gdb.gdb/observer.exp (test_normal_stop_notifications): Update call to observer_notify_normal_stop. --- gdb/testsuite/gdb.gdb/observer.exp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gdb/testsuite/gdb.gdb') 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 } -- cgit v1.1