This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] set osabi command


On Mon, Aug 19, 2002 at 06:31:54PM -0400, Andrew Cagney wrote:

 > It gets complex though because the user could enter a sequence like:
 > 
 > (gdb) set architecture arm
 > ... architecture forced to arm ...
 > (gdb) set osabi arm_eabi_v1
 > ... osabi forced to arm_eabi_v1
 > (gdb) set architecture mips
 > ... architecture forced to mips, what should happen to the OSABI?  It 
 > can't remain arm_eabi_v1 ...
 > 
 > Idea's?

	* If it's e.g. "NetBSD/ELF", it's perfectly valid for ARM and MIPS,
	  so it should stay the same.

	* Failing that, if the target triplet has a default OSABI, then
	  that should be selected.

	* Failing that, the "unknown" OSABI.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]