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/rfc] Don't complain about unknown OSABI


On Tue, Aug 20, 2002 at 12:03:32PM -0400, Andrew Cagney wrote:

 > Next question.  Given an unbranded mips-elf binary, what should the 
 > following GDB's do?
 > 
 > gdb
	"unknown"

 > mips-linux-gnu-gdb
	"GNU/Linux"

 > linux-gnu-gdb
	"GNU/Linux"

 > m68k-linux-gnu-gdb
	"You lose."

 > mips-netbsd-gdb
	"NetBSD ELF"

 > mips-gdb
	"unknown"

 > elf-gdb
	"unknown" assuming there is MIPS support, else "You lose."

 > Having the behavour key off the target creates a problem with an 
 > identical executable behaving differently with different, but similar 
 > GDBs.  I suspect it will encourage people to build different GDB's for 
 > identical purposes when just a single GDB is needed.

The target name merely specifies a default.  If they want to force it
to a certain ABI always, they can put "set osabi ..." in their setup
file.

-- 
        -- 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]