How is info.bfd_arch_info set ?

Kim Lux lux@diesel-research.com
Sun Dec 11 20:27:00 GMT 2005


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.




More information about the Gdb mailing list