This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Prevent GDB from loading native libraries when debugging a cross-target corefile
- From: Edjunior Barbosa Machado <emachado at linux dot vnet dot ibm dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Nathan Miller <nathanm2 at us dot ibm dot com>, Jon Tollefson <tollefso at us dot ibm dot com>
- Date: Fri, 28 Sep 2012 17:30:58 -0300
- Subject: Re: [RFC] Prevent GDB from loading native libraries when debugging a cross-target corefile
- References: <1348813904-21180-1-git-send-email-emachado@linux.vnet.ibm.com> <5065F479.2090901@redhat.com>
On 09/28/2012 04:03 PM, Pedro Alves wrote:
> On 09/28/2012 07:31 AM, Edjunior Barbosa Machado wrote:
>
>> It might be worth mentioning that this behavior was modified by this patch from
>> April 2010:
>> http://sourceware.org/ml/gdb-patches/2010-04/msg00758.html
>
> That helps a lot, thanks. Indeed, I can't justify that original
> change. It looks like I plainly messed up and pasted too much -- the same
> code you're removing is duplicated a bit below, where it should.
>
>> Please consider the following patch as a fix for this issue.
>
> OK. Thanks!
>
Thank you Pedro for the quick reply. And thanks Nathan for pointing out
the fix for this issue.
Checked in:
http://sourceware.org/ml/gdb-cvs/2012-09/msg00175.html
Thanks,
--
Edjunior Barbosa Machado
IBM Linux Technology Center