Fix -Wshadow=local warning in sol_thread_target::wait
authorTom Tromey <tom@tromey.com>
Fri, 5 Oct 2018 13:28:16 +0000 (07:28 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 5 Oct 2018 16:38:01 +0000 (10:38 -0600)
commitf8740dc531c006311ee9f7287180550fe46a94ab
treeecdbe9b0d10c6a8a924fa3187ff9f0ccee83c53b
parentd1c86cff1ecdd1027bd224d38f2161196e9955fa
Fix -Wshadow=local warning in sol_thread_target::wait

Rainer pointed out that -Wshadow=local broke the Solaris build.
This fixes it.

gdb/ChangeLog
2018-10-05  Tom Tromey  <tom@tromey.com>

* sol-thread.c (sol_thread_target::wait): Rename inner
"save_ptid".
gdb/ChangeLog
gdb/sol-thread.c