From: Jason Molenda <jason-swarelist@molenda.com>
To: gdb@sources.redhat.com
Subject: Re: RFC gdb crashes on watchpoint that's no longer valid
Date: Tue, 13 Aug 2002 15:55:00 -0000 [thread overview]
Message-ID: <20020813155526.A2598@molenda.com> (raw)
In-Reply-To: <20020813152124.A97909@molenda.com>; from jason-swarelist@molenda.com on Tue, Aug 13, 2002 at 03:21:24PM -0700
On Tue, Aug 13, 2002 at 03:21:24PM -0700, Jason Molenda wrote:
> /* If symbols have changed so a saved global watchpoint no longer
> applies, delete it, lest gdb crash ungloriously. */
> s = b->exp_string;
> if (! gdb_parse_exp_1 (&s, innermost_block, 0, &(b->exp)))
> {
> warning ("Unable to reset watchpoint %d (unable to "
> "parse expression); deleting", b->number);
> delete_breakpoint (b);
> return 0;
> }
> xfree (s);
(yes yes, I know. It's a cut-and-paste-o. But you get the idea.)
next prev parent reply other threads:[~2002-08-13 22:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-13 15:21 Jason Molenda
2002-08-13 15:55 ` Jason Molenda [this message]
2002-08-14 4:03 ` Eli Zaretskii
2002-08-14 21:26 ` Andrew Cagney
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=20020813155526.A2598@molenda.com \
--to=jason-swarelist@molenda.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