aboutsummaryrefslogtreecommitdiff
path: root/ld/mri.h
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2018-06-29 20:45:34 +0100
committerPedro Alves <palves@redhat.com>2018-06-29 20:45:34 +0100
commitc76a8ea36c9567b2b194285ceeae29bbfc26b20a (patch)
treee98d745c585aedcba9f53be5d80e7c472ba67120 /ld/mri.h
parentcd2bb709940d33668fe6dbe8d4ffee0ed44c25e6 (diff)
downloadgdb-c76a8ea36c9567b2b194285ceeae29bbfc26b20a.zip
gdb-c76a8ea36c9567b2b194285ceeae29bbfc26b20a.tar.gz
gdb-c76a8ea36c9567b2b194285ceeae29bbfc26b20a.tar.bz2
remote & target_extra_thread_info, use cache w/ qThreadExtraInfo and qP too
The following patch will make "info threads" call target_extra_thread_info more frequently. When I looked at the remote implementation, I noticed that if we're not using qXfer:threads:read, then we'd be increasing the remote protocol traffic. This commit prevents that from happening. Also, it removes a gratuitous local static buffer, which seems good on its own. gdb/ChangeLog: 2018-06-29 Pedro Alves <palves@redhat.com> * remote.c (remote_target::extra_thread_info): Delete 'display_buf' and 'n' locals. from the cache, regardless of packet mechanims is in use. Use cache for qThreadExtra and qP methods too.
Diffstat (limited to 'ld/mri.h')
0 files changed, 0 insertions, 0 deletions