if (addr || len)
gdb_printf (gdb_stdlog,
" (addr=%s, len=%d, type=%s)",
- paddress (target_gdbarch (), addr), len,
+ paddress (current_inferior ()->arch (), addr), len,
type == hw_write ? "data-write"
: (type == hw_read ? "data-read"
: (type == hw_access ? "data-read/write"
for (i = 0; i < MAX_DEBUG_REGISTER; i++)
gdb_printf (gdb_stdlog, "\tDR%d: lo=%s, hi=%s\n", i,
- paddress (target_gdbarch (),
+ paddress (current_inferior ()->arch (),
mips_linux_watch_get_watchlo (&watch_mirror,
i)),
- paddress (target_gdbarch (),
+ paddress (current_inferior ()->arch (),
mips_linux_watch_get_watchhi (&watch_mirror,
i)));
}