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.
This commit is contained in:
parent
d64b884136
commit
2f2893d916
6 changed files with 85 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue