Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Cagney <ac131313@cygnus.com>
To: Eli Zaretskii <eliz@is.elta.co.il>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [rfa] Add ``Maintenance Commands'' appendix
Date: Wed, 16 Jan 2002 12:31:00 -0000	[thread overview]
Message-ID: <3C45E31B.8010403@cygnus.com> (raw)
In-Reply-To: <9003-Wed16Jan2002182805+0200-eliz@is.elta.co.il>

[-- Attachment #1: Type: text/plain, Size: 932 bytes --]

> Date: Wed, 16 Jan 2002 10:40:56 -0500
>> From: Andrew Cagney <ac131313@cygnus.com>
>> 
>> Ah.  Don't forget we're (I'm?) ment to be replacing that with makeinfo 
>> 4.something.somethingextra.
> 
> 
> Yes, the latest version of Texinfo 4.0d (available from
> alpha.gnu.org) supports split-HTML mode, so we could switch.  In that
> case, @anchor is certainly an option.


Hmm, @anchor ...

Attached is a revised patch.  It moves the ``maint info breakpoints'' 
and adds a reference.  it appears to work with texinfo 4.0*, texi2html 
(1.64) and pdftex.  How does it look?

Regarding a switch to ``makeinfo --html'' I think I'll put it on hold. 
I gave it a quick trial but tripped up on two points: I couldn't figure 
out where exactly it was putting the generated files (it wanted a 
gdb.html/ directory but put only index.html in it);  I found the 
generated pages too fine grained (down to a section not chapter).

enjoy,
Andrew

[-- Attachment #2: diffs --]
[-- Type: text/plain, Size: 4529 bytes --]

2002-01-16  Andrew Cagney  <ac131313@redhat.com>

	* gdb.texinfo 	(Maintenance Commands): Add appendix.
	(Set Breaks): Copy ``maint info breakpoint'' doco to
	``Maintenance Commands'' appendix.  Add reference.

Index: gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.70
diff -p -r1.70 gdb.texinfo
*** gdb.texinfo	2002/01/11 20:24:14	1.70
--- gdb.texinfo	2002/01/16 20:20:38
*************** Copyright (C) 1988-2001 Free Software Fo
*** 149,154 ****
--- 149,155 ----
  * Command Line Editing::        Command Line Editing
  * Using History Interactively:: Using History Interactively
  * Installing GDB::              Installing GDB
+ * Maintenance Commands::        Maintenance Commands
  * Index::                       Index
  @end menu
  
*************** the breakpoints are conditional, this is
*** 2627,2675 ****
  
  @cindex negative breakpoint numbers
  @cindex internal @value{GDBN} breakpoints
! @value{GDBN} itself sometimes sets breakpoints in your program for special
! purposes, such as proper handling of @code{longjmp} (in C programs).
! These internal breakpoints are assigned negative numbers, starting with
! @code{-1}; @samp{info breakpoints} does not display them.
! 
  You can see these breakpoints with the @value{GDBN} maintenance command
! @samp{maint info breakpoints}.
! 
! @table @code
! @kindex maint info breakpoints
! @item maint info breakpoints
! Using the same format as @samp{info breakpoints}, display both the
! breakpoints you've set explicitly, and those @value{GDBN} is using for
! internal purposes.  Internal breakpoints are shown with negative
! breakpoint numbers.  The type column identifies what kind of breakpoint
! is shown:
! 
! @table @code
! @item breakpoint
! Normal, explicitly set breakpoint.
! 
! @item watchpoint
! Normal, explicitly set watchpoint.
! 
! @item longjmp
! Internal breakpoint, used to handle correctly stepping through
! @code{longjmp} calls.
! 
! @item longjmp resume
! Internal breakpoint at the target of a @code{longjmp}.
! 
! @item until
! Temporary internal breakpoint used by the @value{GDBN} @code{until} command.
! 
! @item finish
! Temporary internal breakpoint used by the @value{GDBN} @code{finish} command.
! 
! @item shlib events
! Shared library events.
! 
! @end table
! 
! @end table
  
  
  @node Set Watchpoints
--- 2628,2639 ----
  
  @cindex negative breakpoint numbers
  @cindex internal @value{GDBN} breakpoints
! @value{GDBN} itself sometimes sets breakpoints in your program for
! special purposes, such as proper handling of @code{longjmp} (in C
! programs).  These internal breakpoints are assigned negative numbers,
! starting with @code{-1}; @samp{info breakpoints} does not display them.
  You can see these breakpoints with the @value{GDBN} maintenance command
! @samp{maint info breakpoints} (@pxref{maint info breakpoints}).
  
  
  @node Set Watchpoints
*************** There is no convenient way to generate a
*** 14850,14855 ****
--- 14814,14864 ----
  
  There are many other options available as well, but they are generally
  needed for special purposes only.
+ 
+ @node Maintenance Commands
+ @appendix Maintenance Commands
+ @cindex maintenance commands
+ @cindex internal commands
+ 
+ In addition to commands intended for @value{GDBN} users, @value{GDBN}
+ includes a number of commands intended for @value{GDBN} developers.
+ These commands are provided here for reference.
+ 
+ @table @code
+ @kindex maint info breakpoints
+ @item @anchor{maint info breakpoints}maint info breakpoints
+ Using the same format as @samp{info breakpoints}, display both the
+ breakpoints you've set explicitly, and those @value{GDBN} is using for
+ internal purposes.  Internal breakpoints are shown with negative
+ breakpoint numbers.  The type column identifies what kind of breakpoint
+ is shown:
+ 
+ @table @code
+ @item breakpoint
+ Normal, explicitly set breakpoint.
+ 
+ @item watchpoint
+ Normal, explicitly set watchpoint.
+ 
+ @item longjmp
+ Internal breakpoint, used to handle correctly stepping through
+ @code{longjmp} calls.
+ 
+ @item longjmp resume
+ Internal breakpoint at the target of a @code{longjmp}.
+ 
+ @item until
+ Temporary internal breakpoint used by the @value{GDBN} @code{until} command.
+ 
+ @item finish
+ Temporary internal breakpoint used by the @value{GDBN} @code{finish} command.
+ 
+ @item shlib events
+ Shared library events.
+ 
+ @end table
+ 
+ @end table
  
  @node Index
  @unnumbered Index

  reply	other threads:[~2002-01-16 20:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-14 21:35 Andrew Cagney
2002-01-14 23:57 ` Eli Zaretskii
2002-01-15 12:19   ` Andrew Cagney
2002-01-15 12:27     ` Michael Snyder
2002-01-15 21:57       ` Andrew Cagney
2002-01-15 22:11     ` Eli Zaretskii
2002-01-15 22:26       ` Andrew Cagney
2002-01-15 22:52         ` Eli Zaretskii
2002-01-16  7:41           ` Andrew Cagney
2002-01-16  8:33             ` Eli Zaretskii
2002-01-16 12:31               ` Andrew Cagney [this message]
2002-01-16 23:36                 ` Eli Zaretskii
2002-01-17 15:04                   ` 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=3C45E31B.8010403@cygnus.com \
    --to=ac131313@cygnus.com \
    --cc=eliz@is.elta.co.il \
    --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