This is the mail archive of the gdb@sourceware.org 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: How is info.bfd_arch_info set ?


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.



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