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: Yao Qi <qiyaoltc at gmail dot com>
- To: Romain Naour <romain dot naour at openwide dot fr>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 14 Apr 2015 10:24:44 +0100
- 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>
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.
Can you commit your patch to git mainline? or you want me to commit it
for you.
--
Yao (éå)