[5/10] RFC: introduce gdb_bfd_section_index

Tom Tromey tromey@redhat.com
Tue Apr 30 10:47:00 GMT 2013


Yao> I can see a crash here.  We allocate NEW_OFFSETS for
Yao> symfile_objfile-> num_sections' entries, but ALL_OBJFILE_OSECTIONS will
Yao> iterate 'symfile_objfile->num_sections + 4'.  These four special
Yao> sections are not used in tic6x, so probably I can skip them when
Yao> setting 'new_offsets'.  Before I post a patch for the crash, I'd like
Yao> to know how do you think about this problem overall.

Please see http://sourceware.org/ml/gdb-patches/2013-04/msg00509.html
and try out that patch.
I'm away the rest of this week but if that patch is insufficient, I will
work on the problem when I return.

Tom



More information about the Gdb-patches mailing list