RFC: "set osabi"

Mark Kettenis kettenis@chello.nl
Sat Dec 28 04:39:00 GMT 2002


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



More information about the Gdb-patches mailing list