diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-10-17 20:35:31 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-10-17 20:35:31 +0000 |
commit | 03dd37c302866305fa6d48988f558c4eba2bbabe (patch) | |
tree | 49872886cd0a94c86515feeb01c0ba6e9eeb8495 /gdb/defs.h | |
parent | 4058e45f546df4f7e887ea2c6ec4fb7f2ab3b1d7 (diff) | |
download | gdb-03dd37c302866305fa6d48988f558c4eba2bbabe.zip gdb-03dd37c302866305fa6d48988f558c4eba2bbabe.tar.gz gdb-03dd37c302866305fa6d48988f558c4eba2bbabe.tar.bz2 |
Functions to convert to/from CORE_ADDR and a string. Use in Insight.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -690,6 +690,12 @@ extern char *paddr_d (LONGEST addr); extern char *phex (ULONGEST l, int sizeof_l); extern char *phex_nz (ULONGEST l, int sizeof_l); +/* Like paddr() only print/scan raw CORE_ADDR. The output from + core_addr_to_string() can be passed direct to + string_to_core_addr(). */ +extern const char *core_addr_to_string (const CORE_ADDR addr); +extern CORE_ADDR string_to_core_addr (const char *my_string); + extern void fprintf_symbol_filtered (struct ui_file *, char *, enum language, int); |