summaryrefslogtreecommitdiff
path: root/gdb/tui
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2009-12-28 21:12:24 +0000
committerDaniel Jacobowitz <dan@debian.org>2009-12-28 21:12:24 +0000
commit650a39ea32de600c80a7f52c6e5dff43acfeaf67 (patch)
tree2fd1309a9a7ea8d8fb0441580fb9fd523ea543b7 /gdb/tui
parentfecf5eb9d86d64767aca2efb9999b2c120fa6f58 (diff)
downloadgdb-650a39ea32de600c80a7f52c6e5dff43acfeaf67.tar.gz
* 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 54d091df482..1055f171353 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