* New failures: gdb.base/recurse.exp
@ 2001-05-10 10:42 Fernando Nasser
2001-05-11 0:54 ` Kevin Buettner
0 siblings, 1 reply; 3+ messages in thread
From: Fernando Nasser @ 2001-05-10 10:42 UTC (permalink / raw)
To: gdb
It is just me that is seeing it? I just did a cvs update and those
appeared.
Fernando
> FAIL: gdb.base/recurse.exp: continue to second instance watchpoint, first time> FAIL: gdb.base/recurse.exp: continue to recurse (a = 4)
> FAIL: gdb.base/recurse.exp: continue to recurse (a = 3)
> FAIL: gdb.base/recurse.exp: continue to recurse (a = 2)
> FAIL: gdb.base/recurse.exp: continue to recurse (a = 1)
> FAIL: gdb.base/recurse.exp: continue to second instance watchpoint, second time
> FAIL: gdb.base/recurse.exp: second instance watchpoint deleted when leaving scope
> FAIL: gdb.base/recurse.exp: continue to first instance watchpoint, second time> FAIL: gdb.base/recurse.exp: first instance watchpoint deleted when leaving scope: the program is no longer running
--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New failures: gdb.base/recurse.exp
2001-05-10 10:42 New failures: gdb.base/recurse.exp Fernando Nasser
@ 2001-05-11 0:54 ` Kevin Buettner
0 siblings, 0 replies; 3+ messages in thread
From: Kevin Buettner @ 2001-05-11 0:54 UTC (permalink / raw)
To: Fernando Nasser, gdb
On May 10, 1:40pm, Fernando Nasser wrote:
> It is just me that is seeing it? I just did a cvs update and those
> appeared.
>
> > FAIL: gdb.base/recurse.exp: continue to second instance watchpoint, first time> FAIL: gdb.base/recurse.exp: continue to recurse (a = 4)
> > FAIL: gdb.base/recurse.exp: continue to recurse (a = 3)
> > FAIL: gdb.base/recurse.exp: continue to recurse (a = 2)
> > FAIL: gdb.base/recurse.exp: continue to recurse (a = 1)
> > FAIL: gdb.base/recurse.exp: continue to second instance watchpoint, second time
> > FAIL: gdb.base/recurse.exp: second instance watchpoint deleted when leaving scope
> > FAIL: gdb.base/recurse.exp: continue to first instance watchpoint, second time> FAIL: gdb.base/recurse.exp: first instance watchpoint deleted when leaving scope: the program is no longer running
I've just submitted a patch to fix these regressions. See:
http://sources.redhat.com/ml/gdb-patches/2001-05/msg00204.html
Kevin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New failures: gdb.base/recurse.exp
@ 2001-05-10 11:01 Michael Elizabeth Chastain
0 siblings, 0 replies; 3+ messages in thread
From: Michael Elizabeth Chastain @ 2001-05-10 11:01 UTC (permalink / raw)
To: fnasser, gdb
I saw some of those on a branch inside Red Hat a few weeks ago.
Let me cut-and-paste some verbiage:
This test script sets a watchpoint on a local variable in a recursive
function. It then observes the watchpoint as the function recurses
and returns.
In the configurations that FAIL, gdb deletes the watchpoint when
the function calls itself. gdb says that "the program has left the
block in which its expression is valid". This is an error in gdb.
When gdb deletes the watchpoint, it stops and prints a message on
the current line (the open brace of the function being called).
This message desynchronizes the test script and causes a cascade
of FAILs.
All of the configurations which fail use software watchpoints.
Software watchpoints use watchpoint_check, which calls
find_frame_addr_in_frame_chain to find this information.
Michael
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-05-11 0:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-10 10:42 New failures: gdb.base/recurse.exp Fernando Nasser
2001-05-11 0:54 ` Kevin Buettner
2001-05-10 11:01 Michael Elizabeth Chastain
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox