* [RFA/testsuite] Fix failures in observer.exp
@ 2004-04-16 17:14 Joel Brobecker
2004-04-16 17:17 ` Joel Brobecker
0 siblings, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2004-04-16 17:14 UTC (permalink / raw)
To: gdb-patches
A recent change in the normal_stop observer caused a change in
the profile of observer_notify_normal_stop(). The observer.exp
testcase makes calls to this function, so it should be updated
accordingly.
2004-04-16 Joel Brobecker <brobecker@gnat.com>
* gdb.gdb/observer.exp (test_normal_stop_notifications): Update
call to observer_notify_normal_stop.
Fixes all the failures during that test. Yah!
Ok to commit?
Thanks,
--
Joel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFA/testsuite] Fix failures in observer.exp
2004-04-16 17:14 [RFA/testsuite] Fix failures in observer.exp Joel Brobecker
@ 2004-04-16 17:17 ` Joel Brobecker
2004-04-16 17:19 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Joel Brobecker @ 2004-04-16 17:17 UTC (permalink / raw)
To: gdb-patches
[-- Attachment #1: Type: text/plain, Size: 499 bytes --]
[sorry, resent with the patch, this time. Sigh]
A recent change in the normal_stop observer caused a change in
the profile of observer_notify_normal_stop(). The observer.exp
testcase makes calls to this function, so it should be updated
accordingly.
2004-04-16 Joel Brobecker <brobecker@gnat.com>
* gdb.gdb/observer.exp (test_normal_stop_notifications): Update
call to observer_notify_normal_stop.
Fixes all the failures during that test. Yah!
Ok to commit?
Thanks,
--
Joel
[-- Attachment #2: observer.exp.diff --]
[-- Type: text/plain, Size: 860 bytes --]
Index: observer.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.gdb/observer.exp,v
retrieving revision 1.2
diff -u -p -r1.2 observer.exp
--- observer.exp 30 Aug 2003 04:58:21 -0000 1.2
+++ observer.exp 16 Apr 2004 17:06:39 -0000
@@ -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
}
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFA/testsuite] Fix failures in observer.exp
2004-04-16 17:17 ` Joel Brobecker
@ 2004-04-16 17:19 ` Daniel Jacobowitz
2004-04-16 17:30 ` Joel Brobecker
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2004-04-16 17:19 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
On Fri, Apr 16, 2004 at 10:17:19AM -0700, Joel Brobecker wrote:
> + # 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)" "" \
Full stops get two spaces. Otherwise obviously OK.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFA/testsuite] Fix failures in observer.exp
2004-04-16 17:19 ` Daniel Jacobowitz
@ 2004-04-16 17:30 ` Joel Brobecker
0 siblings, 0 replies; 4+ messages in thread
From: Joel Brobecker @ 2004-04-16 17:30 UTC (permalink / raw)
To: gdb-patches
> > + # 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)" "" \
>
> Full stops get two spaces. Otherwise obviously OK.
Grrr, I can't believe I made this mistake! Fixed and checked in.
Thank you!
--
Joel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-04-16 17:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-16 17:14 [RFA/testsuite] Fix failures in observer.exp Joel Brobecker
2004-04-16 17:17 ` Joel Brobecker
2004-04-16 17:19 ` Daniel Jacobowitz
2004-04-16 17:30 ` Joel Brobecker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox