From 2f2893d9160782b99a80fa52f15b026b862da218 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 9 Apr 2002 23:52:06 +0000 Subject: 2002-04-09 Daniel Jacobowitz * linux-low.c (linux_look_up_symbols): New hook. (linux_target_ops): Add linux_look_up_symbols. * remote-utils.c (decode_address): New function. (look_up_one_symbol): New function. * server.c (handle_query): Call target look_up_symbols hook. * server.h (look_up_one_symbol): Add prototype. * target.h (struct target_ops): Add look_up_symbols hook. --- gdb/gdbserver/linux-low.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gdb/gdbserver/linux-low.c') diff --git a/gdb/gdbserver/linux-low.c b/gdb/gdbserver/linux-low.c index 307fab2..8c729df 100644 --- a/gdb/gdbserver/linux-low.c +++ b/gdb/gdbserver/linux-low.c @@ -481,6 +481,13 @@ linux_write_memory (CORE_ADDR memaddr, char *myaddr, int len) return 0; } + +static void +linux_look_up_symbols (void) +{ + /* Don't need to look up any symbols yet. */ +} + static struct target_ops linux_target_ops = { linux_create_inferior, @@ -493,6 +500,7 @@ static struct target_ops linux_target_ops = { linux_store_registers, linux_read_memory, linux_write_memory, + linux_look_up_symbols, }; void -- cgit v1.1