From: Daniel Jacobowitz <drow@mvista.com>
To: gdb-patches@sources.redhat.com
Subject: Re: RFC: "set osabi"
Date: Sun, 05 Jan 2003 02:05:00 -0000 [thread overview]
Message-ID: <20030105020503.GJ28756@nevyn.them.org> (raw)
In-Reply-To: <20030104234905.GG28756@nevyn.them.org>
On Sat, Jan 04, 2003 at 06:49:05PM -0500, Daniel Jacobowitz wrote:
> On Fri, Dec 27, 2002 at 10:47:46PM -0500, Daniel Jacobowitz wrote:
> > As promised. I'm also looking for comments on this patch. I know it needs
> > documentation still; that's on hold for a moment because it would conflict
> > with one of my other pending doc patches (since I want to put them in the
> > same section). I'll do the docs before committing this.
Except I didn't. Here they are; committed.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
Index: doc/ChangeLog
===================================================================
RCS file: /cvs/src/src/gdb/doc/ChangeLog,v
retrieving revision 1.253
diff -u -p -r1.253 ChangeLog
--- doc/ChangeLog 5 Jan 2003 01:38:40 -0000 1.253
+++ doc/ChangeLog 5 Jan 2003 02:03:30 -0000
@@ -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.
Index: doc/gdb.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v
retrieving revision 1.134
diff -u -p -r1.134 gdb.texinfo
--- doc/gdb.texinfo 5 Jan 2003 01:38:40 -0000 1.134
+++ doc/gdb.texinfo 5 Jan 2003 02:03:34 -0000
@@ -12531,6 +12531,29 @@ application automatically. However, som
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
next prev parent reply other threads:[~2003-01-05 2:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-27 19:49 Daniel Jacobowitz
2002-12-27 20:01 ` Daniel Jacobowitz
2002-12-28 4:39 ` Mark Kettenis
2003-01-04 23:49 ` Daniel Jacobowitz
2003-01-05 2:05 ` Daniel Jacobowitz [this message]
2003-01-05 4:28 ` Eli Zaretskii
2003-01-05 4:35 ` Daniel Jacobowitz
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=20030105020503.GJ28756@nevyn.them.org \
--to=drow@mvista.com \
--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