aboutsummaryrefslogtreecommitdiff
path: root/gdb/valops.c
diff options
context:
space:
mode:
authorPaul Pluzhnikov <ppluzhnikov@google.com>2009-12-02 19:29:42 +0000
committerPaul Pluzhnikov <ppluzhnikov@google.com>2009-12-02 19:29:42 +0000
commit8cebebb9a2f399f50f4284797528fb952dd80576 (patch)
treecd32b630d8e1e76b9b9aa0f89001a9e343d37945 /gdb/valops.c
parent9c0ae74d4f8b06846a12154d50daf387b73e077c (diff)
downloadgdb-8cebebb9a2f399f50f4284797528fb952dd80576.zip
gdb-8cebebb9a2f399f50f4284797528fb952dd80576.tar.gz
gdb-8cebebb9a2f399f50f4284797528fb952dd80576.tar.bz2
gdb/ChangeLog:
2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * ada-lang.c (ada_value_assign): Use observer_notify_memory_changed. * valops.c (value_assign): Likewise. * defs.h (deprecated_memory_changed_hook): Remove. * top.c (deprecated_memory_changed_hook): Likewise. * interps.c (clear_interpreter_hooks): Adjust. gdb/gdbtk/ChangeLog: 2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * generic/gdbtk-hooks.c (gdbtk_memory_changed): Adjust. (gdbtk_add_hooks): Adjust. gdb/doc/ChangeLog: 2009-12-02 Paul Pluzhnikov <ppluzhnikov@google.com> * observer.texi: New memory_changed observer.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r--gdb/valops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/valops.c b/gdb/valops.c
index 2771688..34619d3 100644
--- a/gdb/valops.c
+++ b/gdb/valops.c
@@ -861,8 +861,8 @@ value_assign (struct value *toval, struct value *fromval)
}
write_memory (changed_addr, dest_buffer, changed_len);
- if (deprecated_memory_changed_hook)
- deprecated_memory_changed_hook (changed_addr, changed_len);
+ observer_notify_memory_changed (changed_addr, changed_len,
+ dest_buffer);
}
break;