aboutsummaryrefslogtreecommitdiff
path: root/gdb/defs.h
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-09-11 15:04:16 +0000
committerAndrew Cagney <cagney@redhat.com>2004-09-11 15:04:16 +0000
commit0759e0bf9a89a235737124c7aad9f63b35b817ed (patch)
tree0ddb29f6f182cb87f65263b60be80e9a0303da18 /gdb/defs.h
parent23794b24aa2bf76d05668823f2d3a7e2aa46f3fe (diff)
downloadgdb-0759e0bf9a89a235737124c7aad9f63b35b817ed.zip
gdb-0759e0bf9a89a235737124c7aad9f63b35b817ed.tar.gz
gdb-0759e0bf9a89a235737124c7aad9f63b35b817ed.tar.bz2
2004-09-11 Andrew Cagney <cagney@gnu.org>
* language.c (hex_string, hex_string_custom): Move from here ... * utils.c (hex_string, hex_string_custom): ... to here, rewrite. (CELLSIZE): Increase to 50. * language.h (hex_string, hex_string_custom): Move from here ... * defs.h: ... to here. * Makefile.in: Update all dependencies.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r--gdb/defs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/defs.h b/gdb/defs.h
index ff5a4d5..f7ffc97 100644
--- a/gdb/defs.h
+++ b/gdb/defs.h
@@ -524,6 +524,11 @@ extern const char *core_addr_to_string (const CORE_ADDR addr);
extern const char *core_addr_to_string_nz (const CORE_ADDR addr);
extern CORE_ADDR string_to_core_addr (const char *my_string);
+/* Return a string that contains a number formatted as a hex
+ string. */
+extern char *hex_string (LONGEST);
+extern char *hex_string_custom (LONGEST, int);
+
extern void fprintf_symbol_filtered (struct ui_file *, char *,
enum language, int);