diff options
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/target.c b/gdb/target.c index 17473767b06..3cf44722b75 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -401,7 +401,7 @@ update_current_target (void) current_target.FIELD = (TARGET)->FIELD record_beneath_to_resume = NULL; - record_beneath_to_prepare_to_store = NULL; + record_beneath_to_store_registers = NULL; record_beneath_to_xfer_partial = NULL; record_beneath_to_insert_breakpoint = NULL; record_beneath_to_remove_breakpoint = NULL; @@ -506,9 +506,9 @@ update_current_target (void) { record_beneath_to_wait = t->to_wait; } - if (!record_beneath_to_prepare_to_store) + if (!record_beneath_to_store_registers) { - record_beneath_to_prepare_to_store = t->to_prepare_to_store; + record_beneath_to_store_registers = t->to_store_registers; } if (!record_beneath_to_xfer_partial) { |