From: Pedro Alves <pedro@codesourcery.com>
To: gdb-patches@sourceware.org
Cc: Kevin Pouget <kevin.pouget@gmail.com>, Tom Tromey <tromey@redhat.com>
Subject: Re: [PATCH] Remove same-pc breakpoint notification for internal BPs
Date: Thu, 21 Apr 2011 08:49:00 -0000 [thread overview]
Message-ID: <201104210949.18831.pedro@codesourcery.com> (raw)
In-Reply-To: <BANLkTin90xSha-02=5NC=2BOkWio-5j=Rw@mail.gmail.com>
On Thursday 21 April 2011 09:11:29, Kevin Pouget wrote:
> + && b->number >= 0);
Can you make those b->number > 0? `0' is used for
momentary breakpoints, which aren't user visible either.
(as principle, please re-paste the changelog when posting
an updated patch, so we don't have go fish which patch
goes with which changelog. It's practicaly 0 work to re-paste
it, but it's not 0 work to look for it.)
In all-stop/sync when the user has the prompt,
no momentary breakpoint will be inserted (pending bugs), but
in non-stop, it can happen:
(gdb) next& (over a function call that never returns)
...
(gdb) maint info breakpoints
Num Type Disp Enb Address What
-1 shlib events keep y 0x00007ffff7deba30 <_dl_debug_state> inf 1
breakpoint already hit 2 times
...
0 step resume keep y 0x0000000000400728 <main+164> inf 1 thread 1
stop only in thread 1
(gdb) b *0x0000000000400728
Note: breakpoint 0 (thread 1) also set at pc 0x400728.
Breakpoint 2 at 0x400728: file threads.c, line 51.
(gdb)
--
Pedro Alves
next prev parent reply other threads:[~2011-04-21 8:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-20 13:44 Kevin Pouget
2011-04-20 13:57 ` Kevin Pouget
2011-04-20 19:03 ` Tom Tromey
2011-04-21 8:12 ` Kevin Pouget
2011-04-21 8:49 ` Pedro Alves [this message]
2011-04-21 9:25 ` Kevin Pouget
2011-04-21 9:34 ` Kevin Pouget
2011-04-21 14:17 ` Tom Tromey
2011-04-21 14:59 ` Pedro Alves
2011-04-21 15:06 ` Tom Tromey
2011-04-21 15:27 ` Pedro Alves
2011-04-27 13:03 ` Kevin Pouget
2011-08-31 13:18 ` Kevin Pouget
2011-09-05 14:43 ` Pedro Alves
2011-09-15 12:31 ` Kevin Pouget
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=201104210949.18831.pedro@codesourcery.com \
--to=pedro@codesourcery.com \
--cc=gdb-patches@sourceware.org \
--cc=kevin.pouget@gmail.com \
--cc=tromey@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