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 ?


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.


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