* gdb.texinfo (Controlling GDB): Document "set osabi".

This commit is contained in:
Daniel Jacobowitz 2003-01-05 02:03:57 +00:00
parent 516034834f
commit 98b45e30a6
2 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
* gdb.texinfo (Controlling GDB): Document "set osabi".
2003-01-04 Daniel Jacobowitz <drow@mvista.com>
* gdb.texinfo (Backtraces): Document "set backtrace-below-main".

View File

@ -12531,6 +12531,29 @@ application automatically. However, sometimes you need to override its
conclusions. Use these commands to manage @value{GDBN}'s view of the
current ABI.
@cindex OS ABI
@kindex set osabi
One @value{GDBN} configuration can debug binaries for multiple operating
system targets, either via remote debugging or native emulation.
@value{GDBN} will autodetect the @dfn{OS ABI} (Operating System ABI) in use,
but you can override its conclusion using the @code{set osabi} command.
One example where this is useful is in debugging of binaries which use
an alternate C library (e.g.@: @sc{uClibc} for @sc{gnu}/Linux) which does
not have the same identifying marks that the standard C library for your
platform provides.
@table @code
@item show osabi
Show the OS ABI currently in use.
@item set osabi
With no argument, show the list of registered available OS ABI's.
@item set osabi @var{abi}
Set the current OS ABI to @var{abi}.
@end table
@cindex float promotion
@kindex set coerce-float-to-double