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/ChangeLog | |
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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f81f9be..13bc9b4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,13 @@ 2013-08-14 Tom Tromey <tromey@redhat.com> + * 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. + +2013-08-14 Tom Tromey <tromey@redhat.com> + * remote.c (struct remote_state) <remote_stopped_by_watchpoint_p, remote_watch_data_address>: New fields. (remote_stopped_by_watchpoint_p, remote_watch_data_address): Remove. |