mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
Changes thanks to Jim Kingdon's vigilance:
* doc/gdb.texinfo: make node "Shell Commands" unconditional; describe `set demangle-style arm' (not cfront); mention can type `q' to discard output, when gdb pages
This commit is contained in:
parent
212e10cfdb
commit
a1eff6c2ed
@ -710,9 +710,7 @@ or @kbd{C-d} to exit.)
|
|||||||
@menu
|
@menu
|
||||||
* Invoking GDB:: How to start @value{GDBN}
|
* Invoking GDB:: How to start @value{GDBN}
|
||||||
* Quitting GDB:: How to quit @value{GDBN}
|
* Quitting GDB:: How to quit @value{GDBN}
|
||||||
@ifclear BARETARGET
|
|
||||||
* Shell Commands:: How to use shell commands inside @value{GDBN}
|
* Shell Commands:: How to use shell commands inside @value{GDBN}
|
||||||
@end ifclear
|
|
||||||
@end menu
|
@end menu
|
||||||
|
|
||||||
@node Invoking GDB
|
@node Invoking GDB
|
||||||
@ -1024,7 +1022,6 @@ device, you can release it with the @code{detach} command
|
|||||||
(@pxref{Attach, ,Debugging an already-running process}).
|
(@pxref{Attach, ,Debugging an already-running process}).
|
||||||
@end ifclear
|
@end ifclear
|
||||||
|
|
||||||
@ifclear BARETARGET
|
|
||||||
@node Shell Commands
|
@node Shell Commands
|
||||||
@section Shell commands
|
@section Shell commands
|
||||||
|
|
||||||
@ -1036,23 +1033,25 @@ just use the @code{shell} command.
|
|||||||
@item shell @var{command string}
|
@item shell @var{command string}
|
||||||
@kindex shell
|
@kindex shell
|
||||||
@cindex shell escape
|
@cindex shell escape
|
||||||
Directs @value{GDBN} to invoke an inferior shell to execute @var{command
|
Invoke a shell to execute @var{command string}. If it exists, the
|
||||||
string}. If it exists, the environment variable @code{SHELL} is used
|
environment variable @code{SHELL} is used for the name of the shell to
|
||||||
for the name of the shell to run. Otherwise @value{GDBN} uses
|
run.
|
||||||
@code{/bin/sh}.
|
@ifclear DOSHOST
|
||||||
|
Otherwise @value{GDBN} uses @code{/bin/sh}.
|
||||||
|
@end ifclear
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
The utility @code{make} is often needed in development environments.
|
The utility @code{make} is often needed in development environments.
|
||||||
You do not have to use the @code{shell} command for this purpose in @value{GDBN}:
|
You do not have to use the @code{shell} command for this purpose in
|
||||||
|
@value{GDBN}:
|
||||||
|
|
||||||
@table @code
|
@table @code
|
||||||
@item make @var{make-args}
|
@item make @var{make-args}
|
||||||
@kindex make
|
@kindex make
|
||||||
@cindex calling make
|
@cindex calling make
|
||||||
Causes @value{GDBN} to execute an inferior @code{make} program with the specified
|
Execute the @code{make} program with the specified
|
||||||
arguments. This is equivalent to @samp{shell make @var{make-args}}.
|
arguments. This is equivalent to @samp{shell make @var{make-args}}.
|
||||||
@end table
|
@end table
|
||||||
@end ifclear
|
|
||||||
|
|
||||||
@node Commands
|
@node Commands
|
||||||
@chapter @value{GDBN} Commands
|
@chapter @value{GDBN} Commands
|
||||||
@ -4271,11 +4270,11 @@ Decode based on the GNU C++ compiler (@code{g++}) encoding algorithm.
|
|||||||
@item lucid
|
@item lucid
|
||||||
Decode based on the Lucid C++ compiler (@code{lcc}) encoding algorithm.
|
Decode based on the Lucid C++ compiler (@code{lcc}) encoding algorithm.
|
||||||
|
|
||||||
@item cfront
|
@item arm
|
||||||
Decode using the algorithm in the @cite{C++ Annotated Reference Manual}.
|
Decode using the algorithm in the @cite{C++ Annotated Reference Manual}.
|
||||||
@strong{Warning:} despite the name, this setting alone is not sufficient
|
@strong{Warning:} this setting alone is not sufficient to allow
|
||||||
to allow debugging @code{cfront}-generated executables. @value{GDBN}
|
debugging @code{cfront}-generated executables. @value{GDBN} would
|
||||||
would require further enhancement to permit that.
|
require further enhancement to permit that.
|
||||||
@end table
|
@end table
|
||||||
|
|
||||||
@item show demangle-style
|
@item show demangle-style
|
||||||
@ -7107,10 +7106,11 @@ Print ten commands just after the commands last printed.
|
|||||||
@cindex size of screen
|
@cindex size of screen
|
||||||
@cindex pauses in output
|
@cindex pauses in output
|
||||||
|
|
||||||
Certain commands to @value{GDBN} may produce large amounts of information
|
Certain commands to @value{GDBN} may produce large amounts of
|
||||||
output to the screen. To help you read all of it, @value{GDBN} pauses and
|
information output to the screen. To help you read all of it,
|
||||||
asks you for input at the end of each page of output. Type @key{RET}
|
@value{GDBN} pauses and asks you for input at the end of each page of
|
||||||
when you want to continue the output. @value{GDBN} also uses the screen
|
output. Type @key{RET} when you want to continue the output, or @kbd{q}
|
||||||
|
to discard the remaining output. @value{GDBN} also uses the screen
|
||||||
width setting to determine when to wrap lines of output. Depending on
|
width setting to determine when to wrap lines of output. Depending on
|
||||||
what is being printed, it tries to break the line at a readable place,
|
what is being printed, it tries to break the line at a readable place,
|
||||||
rather than simply letting it overflow onto the following line.
|
rather than simply letting it overflow onto the following line.
|
||||||
|
Loading…
Reference in New Issue
Block a user