Fix uninitialized variable warnings in remote.c
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 1 Dec 2015 16:49:27 +0000 (17:49 +0100)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 1 Dec 2015 16:49:27 +0000 (17:49 +0100)
commit2e3b657e3a811087533cec33307eb8bbf454cd1c
tree8196a12bb5f0352106cfc806495b35b07c12638e
parent99fd02d9fc9d6cc470d3b81c4cc3439b47bb9419
Fix uninitialized variable warnings in remote.c

Fix a couple of places where a struct thread_item was added to a
vector while the item.name field was uninitialized.

gdb/
* remote.c (remote_newthread_step): Initialize item.name.
(remote_get_threads_with_qthreadinfo): Likewise.
gdb/ChangeLog
gdb/remote.c