[RFA/DWARF] do not use dwarf2_per_objfile in dwarf2_per_objfile_free.
Tom Tromey
tromey@redhat.com
Tue Jun 18 15:41:00 GMT 2013
>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:
Joel> * dwarf2read.c (dwarf2_per_objfile): Replace uses of
Joel> DWARF2_PER_OBJFILE by uses of DATA instead.
This is ok.
You could consider setting 'dwarf2_per_objfile = NULL' at the start of
the function, to try to prevent future bugs along these lines.
Tom
More information about the Gdb-patches
mailing list