aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2009-12-28 21:12:24 +0000
committerDaniel Jacobowitz <drow@false.org>2009-12-28 21:12:24 +0000
commit22e722e1995bffc3b891dbcac05b8c274f14194e (patch)
tree9143006604048400d691b1b62b517e85f8551180 /gdb/tui
parent957f3f49de19d92c755ccc59e36fffc1f65afd63 (diff)
downloadgdb-22e722e1995bffc3b891dbcac05b8c274f14194e.zip
gdb-22e722e1995bffc3b891dbcac05b8c274f14194e.tar.gz
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/tui')
-rw-r--r--gdb/tui/tui-stack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/tui/tui-stack.c b/gdb/tui/tui-stack.c
index 54d091d..1055f17 100644
--- a/gdb/tui/tui-stack.c
+++ b/gdb/tui/tui-stack.c
@@ -218,7 +218,8 @@ tui_get_function_from_frame (struct frame_info *fi)
struct ui_file *stream = tui_sfileopen (256);
char *p;
- print_address_symbolic (get_frame_pc (fi), stream, demangle, "");
+ print_address_symbolic (get_frame_arch (fi), get_frame_pc (fi),
+ stream, demangle, "");
p = tui_file_get_strbuf (stream);
/* Use simple heuristics to isolate the function name. The symbol