This is the mail archive of the gdb@sources.redhat.com 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: GDB and Java


Tom> I'll send more info after I debug gdb a bit.

It is definitely an anonymous objfile causing the crash.

I added this just before the use of SECT_OFF_TEXT in
dwarf2_frame_find_fde:

      if (objfile->sect_index_text == -1)
	continue;

With this gdb stops crashing.  It still isn't all that usable --
sometimes "next" will act like "cont".  I'm sure this change is pretty
bogus...

I can debug ok if I just remember to set a breakpoint whenever I
would usually type "n".  Pretty painful though.

Tom


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