diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-02-14 14:37:38 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-02-14 14:37:38 +0000 |
commit | 66bf4b3a03e67c9c38fb7525c6ce25c4f870206a (patch) | |
tree | 9de77d59e9da5809b17deadcd753de54454d3100 /gdb/defs.h | |
parent | 8adce22da6e4805b565e6519d112e93f2a09814c (diff) | |
download | gdb-66bf4b3a03e67c9c38fb7525c6ce25c4f870206a.zip gdb-66bf4b3a03e67c9c38fb7525c6ce25c4f870206a.tar.gz gdb-66bf4b3a03e67c9c38fb7525c6ce25c4f870206a.tar.bz2 |
2005-02-14 Andrew Cagney <cagney@gnu.org>
* utils.c (paddress): New function.
* defs.h (paddress): Declare.
* printcmd.c (deprecated_print_address_numeric): Rename
print_address_numeric, call paddress.
* valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update.
* symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update.
* maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update.
* dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update.
* corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update.
* ada-valprint.c: Update.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -512,6 +512,9 @@ extern char *paddr_nz (CORE_ADDR addr); extern char *paddr_u (CORE_ADDR addr); extern char *paddr_d (LONGEST addr); +/* Like 0x%lx, replaces deprecated_print_address_numeric. */ +extern const char *paddress (CORE_ADDR addr); + extern char *phex (ULONGEST l, int sizeof_l); extern char *phex_nz (ULONGEST l, int sizeof_l); extern char *int_string (LONGEST, int, int, int, int); @@ -587,7 +590,7 @@ extern int build_address_symbolic (CORE_ADDR addr, int *line, int *unmapped); -extern void print_address_numeric (CORE_ADDR, int, struct ui_file *); +extern void deprecated_print_address_numeric (CORE_ADDR, int, struct ui_file *); extern void print_address (CORE_ADDR, struct ui_file *); |