[RFA 1/2] Use a distinguishing name for minidebug objfile
Pedro Alves
palves@redhat.com
Tue Apr 18 17:42:00 GMT 2017
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
More information about the Gdb-patches
mailing list