From 913a7c4cc4e7e97d9149e7cd10f3402be9abfe4b Mon Sep 17 00:00:00 2001 From: Mark Alexander Date: Fri, 11 Oct 1996 19:26:04 +0000 Subject: [PATCH] * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}: Make it compile on Linux and eliminate some warnings. --- gdb/ChangeLog | 5 +++++ gdb/gdbserver/low-linux.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 034ff49eb3b..7cec8880430 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 11 12:18:32 1996 Mark Alexander + + * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}: + Make it compile on Linux and eliminate some warnings. + Thu Oct 10 16:32:08 1996 Stu Grossman (grossman@critters.cygnus.com) * Makefile.in (init.c): Fixup final sed script to work around diff --git a/gdb/gdbserver/low-linux.c b/gdb/gdbserver/low-linux.c index 429d3db7c83..a260575222a 100644 --- a/gdb/gdbserver/low-linux.c +++ b/gdb/gdbserver/low-linux.c @@ -221,7 +221,6 @@ fetch_register (regno) int regno; { register unsigned int regaddr; - char buf[MAX_REGISTER_RAW_SIZE]; register int i; /* Offset of registers within the u area. */ @@ -272,10 +271,8 @@ store_inferior_registers (regno) int regno; { register unsigned int regaddr; - char buf[80]; register int i; unsigned int offset = U_REGS_OFFSET; - int scratch; if (regno >= 0) { @@ -334,6 +331,7 @@ store_inferior_registers (regno) /* Copy LEN bytes from inferior's memory starting at MEMADDR to debugger memory starting at MYADDR. */ +void read_inferior_memory (memaddr, myaddr, len) CORE_ADDR memaddr; char *myaddr; -- 2.30.2