aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-inferior.c
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-06-24 07:28:10 +0000
committerYao Qi <yao@codesourcery.com>2012-06-24 07:28:10 +0000
commit972daa01e2ee0a5c41e1dd45a71ad398c9266af8 (patch)
tree7e71907c31591615f449be8d88c3c99fb068076d /gdb/python/py-inferior.c
parent8d6e0714b7f1919bfe3720e8d0417708f00ae1ba (diff)
downloadgdb-972daa01e2ee0a5c41e1dd45a71ad398c9266af8.zip
gdb-972daa01e2ee0a5c41e1dd45a71ad398c9266af8.tar.gz
gdb-972daa01e2ee0a5c41e1dd45a71ad398c9266af8.tar.bz2
gdb:
* corefile.c (write_memory_with_notification): New. * gdbcore.h: Declare write_memory_with_notification. * ada-lang.c (ada_value_assign): Replace 'write_memory' and 'observer_notify_memory_changed' with 'write_memory_with_notification'. * valops.c (value_assign): Likewise. * python/py-inferior.c (infpy_write_memory): Call 'write_memory_with_notification'.
Diffstat (limited to 'gdb/python/py-inferior.c')
-rw-r--r--gdb/python/py-inferior.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/python/py-inferior.c b/gdb/python/py-inferior.c
index efbf14b..2b229be 100644
--- a/gdb/python/py-inferior.c
+++ b/gdb/python/py-inferior.c
@@ -493,7 +493,7 @@ infpy_write_memory (PyObject *self, PyObject *args, PyObject *kw)
error = 1;
break;
}
- write_memory (addr, buffer, length);
+ write_memory_with_notification (addr, buffer, length);
}
GDB_PY_HANDLE_EXCEPTION (except);