aboutsummaryrefslogtreecommitdiff
path: root/gdb/remote.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2011-09-14 12:26:29 +0000
committerPedro Alves <palves@redhat.com>2011-09-14 12:26:29 +0000
commit15148d6a1d80bd795b2d53910640a65c76e87b31 (patch)
treecadc2289cbeb85f39e2214f52bff76f9966641ad /gdb/remote.c
parentebb300b24427606d99c2808b0f204ed6ce77fa3e (diff)
downloadgdb-15148d6a1d80bd795b2d53910640a65c76e87b31.zip
gdb-15148d6a1d80bd795b2d53910640a65c76e87b31.tar.gz
gdb-15148d6a1d80bd795b2d53910640a65c76e87b31.tar.bz2
2011-09-14 Pedro Alves <pedro@codesourcery.com>
* infrun.c (prepare_for_detach, wait_for_inferior) (fetch_inferior_event): Don't flush the register cache. * remote.c (struct stop_reply) <regcache>: Add comment.
Diffstat (limited to 'gdb/remote.c')
-rw-r--r--gdb/remote.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/remote.c b/gdb/remote.c
index 1535fb6..1c9e965 100644
--- a/gdb/remote.c
+++ b/gdb/remote.c
@@ -4898,6 +4898,10 @@ struct stop_reply
struct target_waitstatus ws;
+ /* Expedited registers. This makes remote debugging a bit more
+ efficient for those targets that provide critical registers as
+ part of their normal status mechanism (as another roundtrip to
+ fetch them is avoided). */
VEC(cached_reg_t) *regcache;
int stopped_by_watchpoint_p;