aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/linux-low.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2002-04-09 23:52:06 +0000
committerDaniel Jacobowitz <drow@false.org>2002-04-09 23:52:06 +0000
commit2f2893d9160782b99a80fa52f15b026b862da218 (patch)
treeb9341213da30530ee9d58108ca4fad38bb88588a /gdb/gdbserver/linux-low.c
parentd64b88413619bb8abd275f29fcf850df6dec2507 (diff)
downloadgdb-2f2893d9160782b99a80fa52f15b026b862da218.zip
gdb-2f2893d9160782b99a80fa52f15b026b862da218.tar.gz
gdb-2f2893d9160782b99a80fa52f15b026b862da218.tar.bz2
2002-04-09 Daniel Jacobowitz <drow@mvista.com>
* 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.
Diffstat (limited to 'gdb/gdbserver/linux-low.c')
-rw-r--r--gdb/gdbserver/linux-low.c8
1 files changed, 8 insertions, 0 deletions
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