diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-10-17 20:35:32 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-10-17 20:35:32 +0000 |
commit | 4da22dc9b7b94e84a3201e2c9665de6b95aede3b (patch) | |
tree | 993ff17246b7fed5fe83b934db45c19578c9059b /gdb/defs.h | |
parent | 22441dff4357a0844bd3a45382e490d3e91b258c (diff) | |
download | gdb-4da22dc9b7b94e84a3201e2c9665de6b95aede3b.tar.gz |
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
diff --git a/gdb/defs.h b/gdb/defs.h index a0d6d03e8d2..390600ff6ba 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -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); |