This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
PATCH: Correct paddress usage
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GDB <gdb-patches at sourceware dot org>
- Date: Thu, 30 Jul 2009 09:30:40 -0700
- Subject: PATCH: Correct paddress usage
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Hi,
I checked in this patch as an obvious fix.
H.J.
----
2009-07-30 H.J. Lu <hongjiu.lu@intel.com>
* ia64-tdep.c (ia64_access_reg): Correct paddress.
--- gdb/ia64-tdep.c.foo 2009-07-30 09:09:17.000000000 -0700
+++ gdb/ia64-tdep.c 2009-07-30 09:27:01.000000000 -0700
@@ -2380,7 +2380,7 @@ ia64_access_reg (unw_addr_space_t as, un
" access_reg: from cache: %4s=%s\n",
(((unsigned) regnum <= IA64_NAT127_REGNUM)
? ia64_register_names[regnum] : "r??"),
- paddress (*val));
+ paddress (gdbarch, *val));
return 0;
}