diff options
author | Tom Tromey <tromey@redhat.com> | 2013-08-14 18:17:50 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-08-14 18:17:50 +0000 |
commit | 0d031856d82030c8bc52fc2d794b116eae88a92c (patch) | |
tree | 4fb7323f014fc2bc64ac73c2d5541f6ff6615ffc /gdb/gdbserver/linux-crisv32-low.c | |
parent | ee154beebfe8b88abc7c6b12960b0493151c0e33 (diff) | |
download | gdb-0d031856d82030c8bc52fc2d794b116eae88a92c.zip gdb-0d031856d82030c8bc52fc2d794b116eae88a92c.tar.gz gdb-0d031856d82030c8bc52fc2d794b116eae88a92c.tar.bz2 |
move some static thread state into remote_state
This moves a few static variables from thread-info functions into
remote_state. Pedro said on irc that these functions implement the
ancient thread-discovery method and that he wouldn't be surprised if
they had rotted; nevertheless it seems safer to me to make them
explicitly per-remote.
This necessitated moving a couple of macros and a typedef earlier in
the file.
* remote.c (struct remote_state) <echo_nextthread, nextthread,
resultthreadlist>: New fields.
(OPAQUETHREADBYTES, threadref, MAXTHREADLISTRESULTS): Move earlier.
(remote_get_threadlist, remote_threadlist_iterator): Use
new fields. Remove static variables.
Diffstat (limited to 'gdb/gdbserver/linux-crisv32-low.c')
0 files changed, 0 insertions, 0 deletions