This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: "set osabi"
- From: Mark Kettenis <kettenis at chello dot nl>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: 28 Dec 2002 13:36:29 +0100
- Subject: Re: RFC: "set osabi"
- References: <20021228034746.GA25677@nevyn.them.org>
Daniel Jacobowitz <drow@mvista.com> writes:
> 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.
>
> This patch implements:
> - "set osabi"
> - "show osabi"
> - The concept of a "default OS ABI" which will be applied instead
> of GDB_OSABI_UNKNOWN to an untagged binary.
It looks good to me. In the long run, I think we should allow target
selection based on the canonical system names as used by autoconf &
friends, i.e. i686-pc-linux-gnu or hppa2.0w-hp-hpux11.11. This makes
me wonder whether we should accept strings like "linux-gnu" or
"hpux11.11" as an argument for the "set osabi" command.
Mark