diff options
author | Daniel Jacobowitz <drow@false.org> | 2002-04-09 23:52:06 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2002-04-09 23:52:06 +0000 |
commit | 2f2893d9160782b99a80fa52f15b026b862da218 (patch) | |
tree | b9341213da30530ee9d58108ca4fad38bb88588a /gdb/gdbserver/target.h | |
parent | d64b88413619bb8abd275f29fcf850df6dec2507 (diff) | |
download | gdb-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/target.h')
-rw-r--r-- | gdb/gdbserver/target.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h index 094f4ce..685a801 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h @@ -94,6 +94,13 @@ struct target_ops Returns 0 on success and errno on failure. */ int (*write_memory) (CORE_ADDR memaddr, char *myaddr, int len); + + /* Query GDB for the values of any symbols we're interested in. + This function is called whenever we receive a "qSymbols::" + query, which corresponds to every time more symbols (might) + become available. */ + + void (*look_up_symbols) (void); }; extern struct target_ops *the_target; |