This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[commit] fix ia64 and avr uses of translate xfer address
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 08 May 2003 01:03:37 -0400
- Subject: [commit] fix ia64 and avr uses of translate xfer address
The attached updates ia64 and avr so that they implement the updated
translate xfer address method. I missed this when doing the main change :-(
committed,
Andrew
2003-05-07 Andrew Cagney <cagney@redhat.com>
* ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch"
and "regcache" parameters.
* avr-tdep.c (avr_remote_translate_xfer_address): Ditto.
Index: avr-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/avr-tdep.c,v
retrieving revision 1.45
diff -u -r1.45 avr-tdep.c
--- avr-tdep.c 5 May 2003 17:56:54 -0000 1.45
+++ avr-tdep.c 8 May 2003 03:45:29 -0000
@@ -396,7 +396,9 @@
pointer? */
static void
-avr_remote_translate_xfer_address (CORE_ADDR memaddr, int nr_bytes,
+avr_remote_translate_xfer_address (struct gdbarch *gdbarch,
+ struct regcache *regcache,
+ CORE_ADDR memaddr, int nr_bytes,
CORE_ADDR *targ_addr, int *targ_len)
{
long out_addr;
Index: ia64-tdep.c
===================================================================
RCS file: /cvs/src/src/gdb/ia64-tdep.c,v
retrieving revision 1.73
diff -u -r1.73 ia64-tdep.c
--- ia64-tdep.c 5 May 2003 17:56:55 -0000 1.73
+++ ia64-tdep.c 8 May 2003 03:45:45 -0000
@@ -2033,7 +2033,9 @@
}
static void
-ia64_remote_translate_xfer_address (CORE_ADDR memaddr, int nr_bytes,
+ia64_remote_translate_xfer_address (struct gdbarch *gdbarch,
+ struct regcache *regcache,
+ CORE_ADDR memaddr, int nr_bytes,
CORE_ADDR *targ_addr, int *targ_len)
{
*targ_addr = memaddr;