This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 2/8] Avoid shadowing in gdbserver
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 11 Oct 2018 21:19:09 -0700
- Subject: Re: [PATCH 2/8] Avoid shadowing in gdbserver
- References: <20180923040814.27941-1-tom@tromey.com> <20180923040814.27941-3-tom@tromey.com>
On Sat, 22 Sep 2018 22:08:08 -0600
Tom Tromey <tom@tromey.com> wrote:
> This fixes a few instances of shadowing in gdbserver. These are all
> simple fixes.
>
> gdb/gdbserver/ChangeLog
> 2018-09-22 Tom Tromey <tom@tromey.com>
>
> * server.c (handle_status): Rename inner "thread".
> (process_serial_event): Declare "res" in 'm' case.
> * linux-low.c (last_thread_of_process_p, find_lwp_pid)
> (iterate_over_lwps): Rename inner "thread".
> (linux_qxfer_libraries_svr4): Rename inner "len".
> * gdbthread.h (find_thread_in_random): Rename inner "thread".
This is okay.
Kevin