This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
typos in gdb.texinfo
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: typos in gdb.texinfo
- From: Dmitry Sivachenko <demon at gpad dot ac dot ru>
- Date: Sun, 26 Sep 1999 14:41:47 +0400 (MSD)
Hello!
I found several typos in gdb.texinfo (revision 1.1.1.8).
Please apply the patch below in order to fix them.
Thank you in advance,
Dima.
--- gdb.texinfo.old Sun Sep 26 14:19:36 1999
+++ gdb.texinfo Sun Sep 26 14:28:05 1999
@@ -1972,7 +1972,7 @@
@end table
@item show follow-fork-mode
-Display the current debugger response to a fork or vfork call.
+Display the current debugger response to a @code{fork} or @code{vfork} call.
@end table
If you ask to debug a child process and a @code{vfork} is followed by an
@@ -2119,7 +2119,7 @@
@itemx break -@var{offset}
Set a breakpoint some number of lines forward or back from the position
at which execution stopped in the currently selected @dfn{stack frame}.
-(@xref{Frames, , Frames}, for a description of stack frames.)
+(@xref{Frames, ,Frames}, for a description of stack frames.)
@item break @var{linenum}
Set a breakpoint at line @var{linenum} in the current source file.
@@ -2236,7 +2236,7 @@
Enabled breakpoints are marked with @samp{y}. @samp{n} marks breakpoints
that are not enabled.
@item Address
-Where the breakpoint is in your program, as a memory address
+Where the breakpoint is in your program, as a memory address.
@item What
Where the breakpoint is in the source for your program, as a file and
line number.
@@ -2326,14 +2326,14 @@
this may happen.
Depending on your system, watchpoints may be implemented in software or
-hardware. GDB does software watchpointing by single-stepping your
+hardware. @value{GDBN} does software watchpointing by single-stepping your
program and testing the variable's value each time, which is hundreds of
times slower than normal execution. (But this may still be worth it, to
catch errors where you have no clue what part of your program is the
culprit.)
On some systems, such as HP-UX, Linux and some other x86-based targets,
-GDB includes support for
+@value{GDBN} includes support for
hardware watchpoints, which do not slow down the running of your
program.
@@ -2349,7 +2349,7 @@
@kindex awatch
@item awatch @var{expr}
-Set a watchpoint that will break when @var{args} is either read or written into
+Set a watchpoint that will break when @var{expr} is either read or written into
by the program.
@kindex info watchpoints
@@ -2421,7 +2421,7 @@
Delete or disable unused watchpoint commands before setting new ones.
If you call a function interactively using @code{print} or @code{call},
-any watchpoints you have set will be inactive until GDB reaches another
+any watchpoints you have set will be inactive until @value{GDBN} reaches another
kind of breakpoint or the call completes.
@value{GDBN} automatically deletes watchpoints that watch local
@@ -3308,7 +3308,7 @@
breakpoint condition, like this:
@smallexample
-(gdb) break frik.c:13 thread 28 if bartab > lim
+(@value{GDBP}) break frik.c:13 thread 28 if bartab > lim
@end smallexample
@end table
@@ -3355,7 +3355,7 @@
function call, and they are completely free to run when you use commands
like @samp{continue}, @samp{until}, or @samp{finish}. However, unless another
thread hits a breakpoint during its timeslice, they will never steal the
-GDB prompt away from the thread that you are debugging.
+@value{GDBN} prompt away from the thread that you are debugging.
@item show scheduler-locking
Display the current scheduler locking mode.
@@ -7374,7 +7374,7 @@
(@value{GDBP}) p g
$1 = 1
(@value{GDBP}) set g=4
-(gdb) p g
+(@value{GDBP}) p g
$2 = 1
(@value{GDBP}) r
The program being debugged has been started already.
@@ -8097,7 +8097,7 @@
@kindex target sim
@item target sim
-Builtin CPU simulator. GDB includes simulators for most architectures.
+Builtin CPU simulator. @value{GDBN} includes simulators for most architectures.
In general,
@example
target sim
@@ -8766,12 +8766,12 @@
@item detach @emph{(optional)}
@tab @code{D}
@tab
-Detach GDB from the remote system. Sent to the remote target before
-GDB disconnects.
+Detach @value{GDBN} from the remote system. Sent to the remote target before
+@value{GDBN} disconnects.
@item
@tab reply @emph{no response}
@tab
-GDB does not check for any response after sending this packet
+@value{GDBN} does not check for any response after sending this packet
@item reserved
@tab @code{e}
@@ -8798,7 +8798,7 @@
Each byte of register data is described by two hex digits. The bytes
with the register are transmitted in target byte order. The size of
each register and their position within the @samp{g} @var{packet} are
-determined by the GDB internal macros @var{REGISTER_RAW_SIZE} and
+determined by the @value{GDBN} internal macros @var{REGISTER_RAW_SIZE} and
@var{REGISTER_NAME} macros. The specification of several standard
@code{g} packets is specified below.
@item
@@ -8887,14 +8887,14 @@
@tab @code{m}@var{addr}@code{,}@var{length}
@tab
Read @var{length} bytes of memory starting at address @var{addr}.
-Neither GDB nor the stub assume that sized memory transfers are assumed
+Neither @value{GDBN} nor the stub assume that sized memory transfers are assumed
using word alligned accesses. FIXME: @emph{A word aligned memory
transfer mechanism is needed.}
@item
@tab reply @var{XX...}
@tab
@var{XX...} is mem contents. Can be fewer bytes than requested if able
-to read only part of the data. Neither GDB nor the stub assume that
+to read only part of the data. Neither @value{GDBN} nor the stub assume that
sized memory transfers are assumed using word alligned accesses. FIXME:
@emph{A word aligned memory transfer mechanism is needed.}
@item
@@ -9478,7 +9478,7 @@
@value{GDBN} which kernel object display module to initialize:
@example
-(gdb) set os cisco
+(@value{GDBP}) set os cisco
@end example
If @code{set os} succeeds, @value{GDBN} will display some information
@@ -9487,7 +9487,7 @@
after the operating system:
@example
-(gdb) info cisco
+(@value{GDBP}) info cisco
List of Cisco Kernel Objects
Object Description
any Any and all objects
@@ -10086,7 +10086,7 @@
that you want to use @samp{target hms}, the remote debugging interface
for Hitachi microprocessors, or @samp{target e7000}, the in-circuit
emulator for the Hitachi SH and the Hitachi 300H. (@samp{target hms} is
-the default when GDB is configured specifically for the Hitachi SH,
+the default when @value{GDBN} is configured specifically for the Hitachi SH,
H8/300, or H8/500.)
@item
@@ -10118,7 +10118,7 @@
@cindex serial line speed, Hitachi micros
@code{@value{GDBP}} has another special command to set the communications
speed: @samp{speed @var{bps}}. This command also is only used from Unix
-hosts; on DOS hosts, set the line speed as usual from outside GDB with
+hosts; on DOS hosts, set the line speed as usual from outside @value{GDBN} with
the DOS @code{mode} command (for instance,
@w{@kbd{mode com2:9600,n,8,1,p}} for a 9600@dmn{bps} connection).
@@ -10176,15 +10176,15 @@
@smallexample
(eg-C:\H8300\TEST) @value{GDBP} t.x
-GDB is free software and you are welcome to distribute copies
+@value{GDBN} is free software and you are welcome to distribute copies
of it under certain conditions; type "show copying" to see
the conditions.
There is absolutely no warranty for GDB; type "show warranty"
for details.
-GDB @value{GDBVN}, Copyright 1992 Free Software Foundation, Inc...
-(gdb) target hms
+@value{GDBN} @value{GDBVN}, Copyright 1992 Free Software Foundation, Inc...
+(@value{GDBP}) target hms
Connected to remote H8/300 HMS system.
-(gdb) load t.x
+(@value{GDBP}) load t.x
.text : 0x8000 .. 0xabde ***********
.data : 0xabde .. 0xad30 *
.stack : 0xf000 .. 0xf014 *
@@ -10496,10 +10496,10 @@
@example
host$ @value{GDBP} @var{prog}
-GDB is free software and @dots{}
-(gdb) target mips /dev/ttyb
-(gdb) load @var{prog}
-(gdb) run
+@value{GDBN} is free software and @dots{}
+(@value{GDBP}) target mips /dev/ttyb
+(@value{GDBP}) load @var{prog}
+(@value{GDBP}) run
@end example
@item target mips @var{hostname}:@var{portnumber}
@@ -10838,7 +10838,7 @@
@node ST2000
@subsection Tandem ST2000
-GDB may be used with a Tandem ST2000 phone switch, running Tandem's
+@value{GDBN} may be used with a Tandem ST2000 phone switch, running Tandem's
STDBUG protocol.
To connect your ST2000 to the host system, see the manufacturer's
@@ -10939,7 +10939,7 @@
@section Architectures
This section describes characteristics of architectures that affect
-all uses of GDB with this architecture, both native and cross.
+all uses of @value{GDBN} with this architecture, both native and cross.
@menu
* A29K::