This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: time to workaround libc/13097 in fsf gdb?
- From: Pedro Alves <palves at redhat dot com>
- To: Doug Evans <dje at google dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Date: Fri, 26 Sep 2014 13:09:06 +0100
- Subject: Re: time to workaround libc/13097 in fsf gdb?
- Authentication-results: sourceware.org; auth=none
- References: <CAP9bCMRko50FiANwa+h2FadG-k6Me69N04F+Le-bUnTVLQYKuQ at mail dot gmail dot com> <5411CFAE dot 7040805 at redhat dot com> <20140912115452 dot GA5626 at host2 dot jankratochvil dot net> <5412E3AC dot 80203 at redhat dot com> <20140912123320 dot GA8704 at host2 dot jankratochvil dot net> <5412EB1F dot 40309 at redhat dot com> <20140917201049 dot GA22880 at host2 dot jankratochvil dot net> <541C3FCF dot 4000400 at redhat dot com> <541C409E dot 6010408 at redhat dot com> <20140920213033 dot GA6255 at host2 dot jankratochvil dot net> <541F2311 dot 1040404 at redhat dot com> <541F2B1E dot 4030909 at redhat dot com> <CADPb22SaSBm37CL3f-kugpMggd7C-2BcY6DpSQZLzjOydCX=9g at mail dot gmail dot com>
On 09/24/2014 12:05 AM, Doug Evans wrote:
> On Sun, Sep 21, 2014 at 12:46 PM, Pedro Alves <palves@redhat.com> wrote:
>> [...]
>> Here's a quick update to the patch that does (just) that, for
>> testing. Doesn't update comments, etc. It works on f20 here.
>> + if (vsyscall_start <= so->lm_info->l_ld
>> + && so->lm_info->l_ld < vsyscall_end)
>
> This test is subtle enough that I'd appreciate a full explanation here
> of what's going on.
> Thanks.
>
Yeah, as I mentioned, that was just a quick patch for testing.
I'll be sending out the next version in a new thread, which adds
a big comment here.
Thanks,
Pedro Alves