This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 2/8] Avoid shadowing in gdbserver


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]