How is info.bfd_arch_info set ?

Jim Blandy jimb@red-bean.com
Sun Dec 11 22:34:00 GMT 2005


You need to tell us more about what you're doing.  There's no global
variable called 'info', so you must be looking at a local variable of
some function; which function?  How did you get there?

The m68hc11_gdbarch_init function will usually be called more than
once.  If I remember right, once for GDB's default architecture and
once for the architecture it gets from the executable file.  So don't
assume that, because it's being called once with the wrong
bfd_arch_info structure, that that's the one it will actually use. 
After you've told GDB which executable file you want it to use for
debugging information, use 'show arch' to see what architecture it's
using.



More information about the Gdb mailing list