aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/win32-low.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2010-08-26 23:17:22 +0000
committerPedro Alves <palves@redhat.com>2010-08-26 23:17:22 +0000
commit90d74c301f749fc06e859ab4424fd4cabc019bc2 (patch)
tree24b64960d7237ee27ab81014a049da62cef4ab1e /gdb/gdbserver/win32-low.c
parentae53ffa4b631eede55fa98f7b27050d54024c575 (diff)
downloadgdb-90d74c301f749fc06e859ab4424fd4cabc019bc2.zip
gdb-90d74c301f749fc06e859ab4424fd4cabc019bc2.tar.gz
gdb-90d74c301f749fc06e859ab4424fd4cabc019bc2.tar.bz2
* linux-low.c (linux_prepare_to_access_memory): New.
(linux_unprepare_to_access_memory): New. (linux_target_ops): Install them. * server.c (read_memory): Rename to ... (gdb_read_memory): ... this. Use prepare_to_access_memory/prepare_to_access_memory. (write_memory): Rename to ... (gdb_write_memory): ... this. Use prepare_to_access_memory/prepare_to_access_memory. (handle_search_memory_1): Adjust. (process_serial_event): Adjust. * target.h (struct target_ops): New fields prepare_to_access_memory and unprepare_to_access_memory. (prepare_to_access_memory, unprepare_to_access_memory): New. * linux-x86-low.c (x86_insert_point, x86_remove_point): Use prepare_to_access_memory/prepare_to_access_memory. * nto-low.c (nto_target_ops): Adjust. * spu-low.c (spu_target_ops): Adjust. * win32-low.c (win32_target_ops): Adjust.
Diffstat (limited to 'gdb/gdbserver/win32-low.c')
-rw-r--r--gdb/gdbserver/win32-low.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/gdbserver/win32-low.c b/gdb/gdbserver/win32-low.c
index 72184f3..f646738 100644
--- a/gdb/gdbserver/win32-low.c
+++ b/gdb/gdbserver/win32-low.c
@@ -1781,6 +1781,8 @@ static struct target_ops win32_target_ops = {
win32_wait,
win32_fetch_inferior_registers,
win32_store_inferior_registers,
+ NULL, /* prepare_to_access_memory */
+ NULL, /* unprepare_to_access_memory */
win32_read_inferior_memory,
win32_write_inferior_memory,
NULL, /* lookup_symbols */