This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
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