FYI: Multi-arch MIPS framework - multiple MIPS ABIs, one GDB

Andrew Cagney ac131313@cygnus.com
Tue Dec 7 03:52:00 GMT 1999


Hello (Wearing my Cygnus Hat - no it is not red! :-)

As the first real demonstration of the potential of the multi-arch
framework (recently contributed by Cygnus), I've now completed adding
changes to mips-tdep.c that allow a single GDB binary to debug a number
of different MIPS ISAs.

Among the possibilities, a single GDB binary has been managed to debug
programs compiled with:

		-mabi=32
		-mmips2
		-mabi=o64
		-mabi=eabi
		-EB
		-mips16
		(and about 30 other different variations :-)

For the moment, only the mips64vr4xxx*-elf and mips64vr5000*-elf targets
enable this code.  It is using information extracted from the object
file to determine the applicable MIPS ISA.

Tread carefully,

	Andrew


More information about the Gdb mailing list