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: [RFA 1/2] Use a distinguishing name for minidebug objfile


On 04/13/2017 05:15 AM, Tom Tromey wrote:
> One part of PR cli/19951 is that the mini debug info objfile reuses the
> name of the main objfile from which it comes.  This can be seen because
> gdb claims to be reading symbols from the same file two times, like:
> 
> Reading symbols from /bin/gdb...Reading symbols from /bin/gdb...(no debugging symbols found)...done.
> 
> I think this would be less confusing if the minidebug objfile were given
> a different name.  That is what this patch implements.  It also arranges
> for the minidebug objfile to be marked OBJF_NOT_FILENAME.

Could you update the commit log to also show how things look
after the patch?  I could guess it after staring at the patch for
a bit, but it'd be nice to be explicit.

Otherwise LGTM.

Thanks,
Pedro Alves


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