From: Mark Alexander Date: Fri, 11 Oct 1996 19:26:04 +0000 (+0000) Subject: * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=913a7c4cc4e7e97d9149e7cd10f3402be9abfe4b;p=binutils-gdb.git * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}: Make it compile on Linux and eliminate some warnings. --- 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;