This is the mail archive of the gdb-patches@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: [5/10] RFC: introduce gdb_bfd_section_index


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


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