From: Michael Elizabeth Chastain <chastain@cygnus.com>
To: fnasser@redhat.com, gdb@sources.redhat.com
Subject: Re: New failures: gdb.base/recurse.exp
Date: Thu, 10 May 2001 11:01:00 -0000 [thread overview]
Message-ID: <200105101807.LAA12540@bosch.cygnus.com> (raw)
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
next reply other threads:[~2001-05-10 11:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-10 11:01 Michael Elizabeth Chastain [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-05-10 10:42 Fernando Nasser
2001-05-11 0:54 ` Kevin Buettner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200105101807.LAA12540@bosch.cygnus.com \
--to=chastain@cygnus.com \
--cc=fnasser@redhat.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox