aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2002-08-21 15:34:36 +0000
committerKeith Seitz <keiths@redhat.com>2002-08-21 15:34:36 +0000
commite23792ccb6d6b4e8e30e5702eaacfd5556e4ac6e (patch)
tree0613faf51d12e9373fad1f698198cd01acc302e7 /gdb/valops.c
parent9fb14e79f9f0322189fb5a2ea17f9819d44fced6 (diff)
downloadgdb-e23792ccb6d6b4e8e30e5702eaacfd5556e4ac6e.zip
gdb-e23792ccb6d6b4e8e30e5702eaacfd5556e4ac6e.tar.gz
gdb-e23792ccb6d6b4e8e30e5702eaacfd5556e4ac6e.tar.bz2
* gdb-events.sh: Add target-changed event.
* gdb-events.c: Regenerated. * gdb-events.c: Regenerated. * valops.c (value_assign): Add target-changed event notification to inlval_register, lval_memory, and lval_reg_frame_relative.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index d7c889f..569c85b 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -633,6 +633,7 @@ value_assign (struct value *toval, struct value *fromval)
write_memory (changed_addr, dest_buffer, changed_len);
if (memory_changed_hook)
memory_changed_hook (changed_addr, changed_len);
+ target_changed_event ();
}
break;
@@ -678,6 +679,9 @@ value_assign (struct value *toval, struct value *fromval)
VALUE_CONTENTS (fromval), TYPE_LENGTH (type));
#endif
}
+
+ target_changed_event ();
+
/* Assigning to the stack pointer, frame pointer, and other
(architecture and calling convention specific) registers may
cause the frame cache to be out of date. We just do this
@@ -765,6 +769,7 @@ value_assign (struct value *toval, struct value *fromval)
if (register_changed_hook)
register_changed_hook (-1);
+ target_changed_event ();
}
break;