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:
@@ -1299,9 +1299,7 @@ value_assign (struct value *toval, struct value *fromval)
|
||||
dest_buffer = value_contents (fromval);
|
||||
}
|
||||
|
||||
write_memory (changed_addr, dest_buffer, changed_len);
|
||||
observer_notify_memory_changed (changed_addr, changed_len,
|
||||
dest_buffer);
|
||||
write_memory_with_notification (changed_addr, dest_buffer, changed_len);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user