* 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.
This commit is contained in:
Keith Seitz
2002-08-21 15:34:36 +00:00
parent 9fb14e79f9
commit e23792ccb6
5 changed files with 41 additions and 2 deletions

View File

@@ -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;