This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Final separate debug info patch
- From: Jim Blandy <jimb at redhat dot com>
- To: Alexander Larsson <alexl at redhat dot com>
- Cc: gdb at sources dot redhat dot com
- Date: 19 Nov 2002 07:43:23 -0500
- Subject: Re: Final separate debug info patch
- References: <Pine.LNX.4.44.0210090447290.29225-200000@devserv.devel.redhat.com><vt2wunajgl9.fsf@zenia.red-bean.com>
Some other stuff I've noticed:
- In reread_symbols, it looks like we do throw away
objfile->separate_debug_objfile if it doesn't match any more, but I
don't see where we read in the new one. (I think this is the cause
of the reread.exp failure.)
- Similarly, if we start with an unseparated objfile, but then it is
changed to a separated objfile, I don't see where reread_symbols
loads the separated objfile's debug objfile.
- In reread_symbols, if the new objfile's debug link has a different
name, but the CRC's happen to match, it won't toss the old file. It
seems to me that we should re-run find_separate_debug_file from
scratch, and make sure the filename we get matches the existing
separate_debug_objfile's name.
In general, I'm not convinced that the change to reread_symbols really
covers all the cases. I'll try to fix it.