diff options
author | Daniel Jacobowitz <drow@false.org> | 2009-12-28 21:12:24 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2009-12-28 21:12:24 +0000 |
commit | 22e722e1995bffc3b891dbcac05b8c274f14194e (patch) | |
tree | 9143006604048400d691b1b62b517e85f8551180 /gdb/defs.h | |
parent | 957f3f49de19d92c755ccc59e36fffc1f65afd63 (diff) | |
download | fsf-binutils-gdb-22e722e1995bffc3b891dbcac05b8c274f14194e.zip fsf-binutils-gdb-22e722e1995bffc3b891dbcac05b8c274f14194e.tar.gz fsf-binutils-gdb-22e722e1995bffc3b891dbcac05b8c274f14194e.tar.bz2 |
* defs.h (print_address_symbolic, build_address_symbolic): Update
prototypes.
* printcmd.c (print_address_symbolic): Take a gdbarch argument.
Pass it to build_address_symbolic. All callers updated.
(build_address_symbolic): Take a gdbarch argument. Use
gdbarch_addr_bits_remove for functions. All callers updated.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -596,10 +596,11 @@ extern int info_verbose; extern void set_next_address (struct gdbarch *, CORE_ADDR); -extern void print_address_symbolic (CORE_ADDR, struct ui_file *, int, - char *); +extern void print_address_symbolic (struct gdbarch *, CORE_ADDR, + struct ui_file *, int, char *); -extern int build_address_symbolic (CORE_ADDR addr, +extern int build_address_symbolic (struct gdbarch *, + CORE_ADDR addr, int do_demangle, char **name, int *offset, |