summaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2003-01-05 02:03:57 +0000
committerDaniel Jacobowitz <dan@debian.org>2003-01-05 02:03:57 +0000
commitae6760d559b6ec8e824223558c0ae823f7661055 (patch)
treee48c2e68231b252c04706d6eeda47b60f790af26 /gdb/doc
parent3c05fb63dcc1cb2ab258badfaccbcf08d2d5effb (diff)
downloadgdb-ae6760d559b6ec8e824223558c0ae823f7661055.tar.gz
* gdb.texinfo (Controlling GDB): Document "set osabi".
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdb.texinfo23
2 files changed, 27 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index a24ee2fe008..b5884d7933f 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,9 @@
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".
* gdbint.texinfo (FRAME_CHAIN_VALID): Update documentation.
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 0f7ed9f29b2..4ad5dbe5572 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -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