This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: How is info.bfd_arch_info set ?
- From: Kim Lux <lux at diesel-research dot com>
- To: gdb at sourceware dot org
- Date: Sun, 11 Dec 2005 13:27:10 -0700
- Subject: Re: How is info.bfd_arch_info set ?
- References: <1134332391.14961.10.camel@localhost.localdomain>
I am debugging a custom gdb stub. m6811-elf-gdb, to be exact.
gdb is initiating with info.bfd_arch_info->arch set to the wrong target. (m6811 and not 6812).
I can't figure out how info.bfd_arch_info->arch gets set. What determines which arch gets used ? Where is this done ?
Thanks.
--
Kim Lux, Diesel Research Inc.