* remote-mips.c: Update the prototype of mips_xfer_memory()
@ 2007-03-22 13:20 Maciej W. Rozycki
2007-03-22 13:41 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Maciej W. Rozycki @ 2007-03-22 13:20 UTC (permalink / raw)
To: gdb-patches; +Cc: Nigel Stephens, Maciej W. Rozycki
Hello,
The deprecated_xfer_memory() member of "struct target_ops" takes
"gdb_byte *" as the second argument now. This change updates
remote-mips.c accordingly.
This change should be obvious, though it cannot be tested with the tree
as is, as for whatever reason the file is currently not built in any
configuration. I tested it successfully with the "mipsisa32-sde-elf"
target with a patch that enables this file to be built, which I will
submit later on.
2007-03-22 Nigel Stephens <nigel@mips.com>
Maciej W. Rozycki <macro@mips.com>
* remote-mips.c (mips_xfer_memory): Update prototype.
OK to apply?
Maciej
12036.diff
Index: gdb/src/gdb/remote-mips.c
===================================================================
--- gdb.orig/src/gdb/remote-mips.c 2007-02-13 13:51:16.000000000 +0000
+++ gdb/src/gdb/remote-mips.c 2007-02-13 13:51:23.000000000 +0000
@@ -108,7 +108,7 @@
static int mips_store_word (CORE_ADDR addr, unsigned int value,
char *old_contents);
-static int mips_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
+static int mips_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len,
int write,
struct mem_attrib *attrib,
struct target_ops *target);
@@ -2029,7 +2029,7 @@
static int mask_address_p = 1;
static int
-mips_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+mips_xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len, int write,
struct mem_attrib *attrib, struct target_ops *target)
{
int i;
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: remote-mips.c: Update the prototype of mips_xfer_memory()
2007-03-22 13:20 remote-mips.c: Update the prototype of mips_xfer_memory() Maciej W. Rozycki
@ 2007-03-22 13:41 ` Daniel Jacobowitz
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Jacobowitz @ 2007-03-22 13:41 UTC (permalink / raw)
To: Maciej W. Rozycki; +Cc: gdb-patches, Nigel Stephens, Maciej W. Rozycki
On Thu, Mar 22, 2007 at 01:20:15PM +0000, Maciej W. Rozycki wrote:
> Hello,
>
> The deprecated_xfer_memory() member of "struct target_ops" takes
> "gdb_byte *" as the second argument now. This change updates
> remote-mips.c accordingly.
>
> This change should be obvious, though it cannot be tested with the tree
> as is, as for whatever reason the file is currently not built in any
> configuration. I tested it successfully with the "mipsisa32-sde-elf"
> target with a patch that enables this file to be built, which I will
> submit later on.
>
> 2007-03-22 Nigel Stephens <nigel@mips.com>
> Maciej W. Rozycki <macro@mips.com>
>
> * remote-mips.c (mips_xfer_memory): Update prototype.
>
> OK to apply?
OK.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-22 13:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-22 13:20 remote-mips.c: Update the prototype of mips_xfer_memory() Maciej W. Rozycki
2007-03-22 13:41 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox