forked from Imagelibrary/binutils-gdb
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'.
This commit is contained in:
@@ -86,6 +86,12 @@ CORE_ADDR read_memory_typed_address (CORE_ADDR addr, struct type *type);
|
||||
extern void write_memory (CORE_ADDR memaddr, const gdb_byte *myaddr,
|
||||
ssize_t len);
|
||||
|
||||
/* Same as write_memory, but notify 'memory_changed' observers. */
|
||||
|
||||
extern void write_memory_with_notification (CORE_ADDR memaddr,
|
||||
const bfd_byte *myaddr,
|
||||
ssize_t len);
|
||||
|
||||
/* Store VALUE at ADDR in the inferior as a LEN-byte unsigned integer. */
|
||||
extern void write_memory_unsigned_integer (CORE_ADDR addr, int len,
|
||||
enum bfd_endian byte_order,
|
||||
|
||||
Reference in New Issue
Block a user