multiarch x86_64 target
Jiri Smid
smid@suse.cz
Wed Aug 29 04:26:00 GMT 2001
Hello,
I am converting x86_64 target to multiarch as you wanted. The bfd
architecture for both i386 and x86_64 is bfd_arch_i386. And these
targets are diferentiated by machine type.
Due to the i386 target is not yet multiarched I have a problem how to register
x86_64 in gdb.
I have created function i386_gdbarch_init which behaves that if target
vector for machine type differs from bfd_mach_x86_64 should be created
then internal_error(Not yet implemented) is invoked.
But when the gdb starts up then there is created target vector for default
machine type - bfd_mach_i386_i386. Thus gdb can't run.
Do you have any ideas how to solve it?
--
Jiri Smid
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: smid@suse.cz
Drahobejlova 27 tel:+420 2 83095 373
190 00 Praha 9 fax:+420 2 83095 374
Ceska republika http://www.suse.cz
More information about the Gdb
mailing list