aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-10-17 20:35:31 +0000
committerAndrew Cagney <cagney@redhat.com>2001-10-17 20:35:31 +0000
commit03dd37c302866305fa6d48988f558c4eba2bbabe (patch)
tree49872886cd0a94c86515feeb01c0ba6e9eeb8495 /gdb/defs.h
parent4058e45f546df4f7e887ea2c6ec4fb7f2ab3b1d7 (diff)
downloadgdb-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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index a0d6d03..390600f 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);