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/disasm.c | |
parent | 957f3f49de19d92c755ccc59e36fffc1f65afd63 (diff) | |
download | gdb-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/disasm.c')
-rw-r--r-- | gdb/disasm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index 5927367..21f767e 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -116,7 +116,7 @@ dump_insns (struct gdbarch *gdbarch, struct ui_out *uiout, ui_out_text (uiout, pc_prefix (pc)); ui_out_field_core_addr (uiout, "address", gdbarch, pc); - if (!build_address_symbolic (pc, 0, &name, &offset, &filename, + if (!build_address_symbolic (gdbarch, pc, 0, &name, &offset, &filename, &line, &unmapped)) { /* We don't care now about line, filename and |