From: Nick Roberts <nickrob@snap.net.nz>
To: Eli Zaretskii <eliz@gnu.org>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Multiple breakpoint locations
Date: Sun, 18 Nov 2007 01:24:00 -0000 [thread overview]
Message-ID: <18239.37977.82092.169421@kahikatea.snap.net.nz> (raw)
In-Reply-To: <ubq9tccj5.fsf@gnu.org>
> Thanks for your suggestions, I fixed the manual as shown below:
>
> 2007-11-17 Eli Zaretskii <eliz@gnu.org>
>
> * gdb.texinfo (Set Breaks, Disabling): Clarify behavior of
> breakpoints with multiple locations.
> (Breakpoint Menus): Improve wording.
Since the concept of a parent breakpoint has been used, perhaps this could
be used with "header row". Also breakpoint-number is abbreviated to BNUM
elsewhere. Here are a few ideas:
--
Nick http://www.inet.net.nz/~nickrob
*** gdb.texinfo.~1.446.~ 2007-11-18 13:23:21.000000000 +1300
--- gdb.texinfo 2007-11-18 14:19:45.000000000 +1300
*************** In all those cases, @value{GDBN} will in
*** 3061,3072 ****
the relevant locations.
A breakpoint with multiple locations is displayed in the breakpoint
! table using several rows---one header row, followed by one row for
! each breakpoint location. The header row has @samp{<MULTIPLE>} in the
! address column. The rows for individual locations contain the actual
! addresses for locations, and show the functions to which those
! locations belong. The number column for a location is of the form
! @var{breakpoint-number}.@var{location-number}.
For example:
--- 3061,3074 ----
the relevant locations.
A breakpoint with multiple locations is displayed in the breakpoint
! table using several rows---one header row for the parent breakpoint,
! followed by one row for each breakpoint location. The header row has
! @samp{<MULTIPLE>} in the address column. The rows for individual
! locations contain the actual addresses for locations, and show the
! functions to which those locations belong. The number column for a
! location is of the form @var{bnum}.@var{lnum} where @var{bnum} is is
! the number of the parent breakpoint and @var{lnum} the location
! number.
For example:
*************** Num Type Disp Enb Address
*** 3080,3093 ****
@end smallexample
Each location can be individually enabled or disabled by passing
! @var{breakpoint-number}.@var{location-number} as argument to the
! @code{enable} and @code{disable} commands. Note that you cannot
! delete the individual locations from the list, you can only delete the
! entire list of locations that belong to their parent breakpoint (with
! the @kbd{delete @var{num}} command, where @var{num} is the number of
! the parent breakpoint, 1 in the above example). Disabling or enabling
! the parent breakpoint (@pxref{Disabling}) affects all of the locations
! that belong to that breakpoint.
@cindex pending breakpoints
It's quite common to have a breakpoint inside a shared library.
--- 3082,3094 ----
@end smallexample
Each location can be individually enabled or disabled by passing
! @var{bnum}.@var{lnum} as argument to the @code{enable} and
! @code{disable} commands. Note that you cannot delete the individual
! locations from the list, you can only delete the entire list of
! locations that belong to their parent breakpoint (with the @kbd{delete
! @var{bnum}} command, where @var{bnum} is 1 in the above example).
! Disabling or enabling the parent breakpoint (@pxref{Disabling})
! affects all of the locations that belong to that breakpoint.
@cindex pending breakpoints
It's quite common to have a breakpoint inside a shared library.
prev parent reply other threads:[~2007-11-18 1:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <18233.63439.953202.586908@kahikatea.snap.net.nz>
2007-11-17 11:55 ` Eli Zaretskii
2007-11-17 13:55 ` Vladimir Prus
2007-11-17 15:35 ` Eli Zaretskii
2007-11-18 1:24 ` Nick Roberts [this message]
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=18239.37977.82092.169421@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=eliz@gnu.org \
--cc=gdb-patches@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