From: Doug Evans <dje@google.com>
To: Chandru <chandru@in.ibm.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [patch]: inform user that a watchpoint is hit
Date: Sat, 15 Aug 2009 10:57:00 -0000 [thread overview]
Message-ID: <e394668d0908141722l2ae205f8m97e1218ebd2b39c4@mail.gmail.com> (raw)
In-Reply-To: <200908141602.50465.chandru@in.ibm.com>
On Fri, Aug 14, 2009 at 3:32 AM, Chandru<chandru@in.ibm.com> wrote:
> When a program is restarted within gdb, the initial breakpoint hit messages are
> not outputted on to the screen. Inform the user that a watchpoint has been hit
>
> Signed-off-by: Chandru Siddalingappa <chandru@ilinux.vnet.ibm.com>
> ---
>
> --- gdb/breakpoint.c.orig 2009-08-14 17:53:06.000000000 +0530
> +++ gdb/breakpoint.c 2009-08-14 17:54:02.000000000 +0530
> @@ -842,6 +842,9 @@ update_watchpoint (struct breakpoint *b,
> struct bp_location *loc;
> bpstat bs;
>
> + if (breakpoint_enabled (b))
> + mention(b);
> +
> unlink_locations_from_global_list (b);
> for (loc = b->loc; loc;)
> {
>
Hi.
If we're stopping because of a watchpoint and not reporting it, that's bad.
But it seems odd that this is happening, and simple experiments don't
reveal anything.
Do you have a testcase?
next prev parent reply other threads:[~2009-08-15 0:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-14 13:15 Chandru
2009-08-15 10:57 ` Doug Evans [this message]
2009-08-15 12:22 ` Chandru
2009-08-18 17:31 ` Doug Evans
2009-08-19 8:05 ` Chandru
2009-08-19 13:03 ` Jan Kratochvil
2009-08-24 11:27 ` Chandru
2009-08-27 7:45 ` Chandru
2009-08-27 8:26 ` Jan Kratochvil
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=e394668d0908141722l2ae205f8m97e1218ebd2b39c4@mail.gmail.com \
--to=dje@google.com \
--cc=chandru@in.ibm.com \
--cc=gdb-patches@sourceware.org \
/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