aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
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/breakpoint.c
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/breakpoint.c')
-rw-r--r--gdb/breakpoint.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index 6875e8e..f041e64 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -3982,7 +3982,8 @@ static void print_breakpoint_location (struct breakpoint *b,
}
else if (loc)
{
- print_address_symbolic (loc->address, stb->stream, demangle, "");
+ print_address_symbolic (loc->gdbarch, loc->address, stb->stream,
+ demangle, "");
ui_out_field_stream (uiout, "at", stb);
}
else