This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: ping: [patchv2] Fix vDSO l_name for GDB's: Can't read pathname for load map: Input/output error.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Thu, 07 Nov 2013 21:39:15 -0500
- Subject: Re: ping: [patchv2] Fix vDSO l_name for GDB's: Can't read pathname for load map: Input/output error.
- Authentication-results: sourceware.org; auth=none
- References: <20131107160926 dot GA15404 at host2 dot jankratochvil dot net> <527BCC14 dot 7060202 at redhat dot com> <20131107185429 dot GA23532 at host2 dot jankratochvil dot net> <527C0F17 dot 7080309 at redhat dot com>
On 11/07/2013 05:07 PM, Carlos O'Donell wrote:
> I suggest the following more verbose comment:
>
> /* When we create the executable link map, or a VDSO link map, we start
> with "" for the l_name. In these cases "" points to ld.so rodata
> and won't get dumped during core file generation. Therefore to assist
> gdb and to create more self-contained core files we adjust l_name to
> point at the newly allocated copy (which will get dumped) instead of
> the ld.so rodata copy. */
>
> OK with those changes, and confirmation that no regressions were seen in the
> glibc testsuite.
Please also add `[BZ #387]' to your ChangeLog, and close out bug 387 as
fixed.
If you don't have commit please tell me.
Cheers,
Carlos.