This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH: gdb-7.8-branch] gdbserver: fix uClibc whithout MMU.
- From: Romain Naour <romain dot naour at openwide dot fr>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 14 Apr 2015 23:04:59 +0200
- Subject: Re: [PATCH: gdb-7.8-branch] gdbserver: fix uClibc whithout MMU.
- Authentication-results: sourceware.org; auth=none
- References: <1428703891-28920-1-git-send-email-romain dot naour at openwide dot fr> <86ioczt63n dot fsf at gmail dot com>
Hi,
Le 14/04/2015 11:24, Yao Qi a Ãcrit :
> Romain Naour <romain.naour@openwide.fr> writes:
>
>> diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c
>> index 1a40897..71d078a 100644
>> --- a/gdb/gdbserver/linux-low.c
>> +++ b/gdb/gdbserver/linux-low.c
>> @@ -4933,7 +4933,7 @@ static int
>> linux_read_offsets (CORE_ADDR *text_p, CORE_ADDR *data_p)
>> {
>> unsigned long text, text_end, data;
>> - int pid = lwpid_of (get_thread_lwp (current_inferior));
>> + int pid = lwpid_of (current_inferior);
>
> The patch is OK to the mainline, with a ChangeLog entry. I don't know
> we'll have releases on 7.8 branch.
Thanks for your review, I'll send an updated patch rebased on master.
If you are interested, take a look at gdb's build 7.8.2 result:
http://autobuild.buildroot.net/?reason=gdb-7.8.2
gdb 7.9 is not yet tested by autobuilders.
>
> Can you commit your patch to git mainline? or you want me to commit it
> for you.
>
Yes please, I don't have git access to commit my patch.
Best regards,
Romain Naour