diff options
author | Mark Alexander <marka@cygnus> | 1996-10-11 19:26:04 +0000 |
---|---|---|
committer | Mark Alexander <marka@cygnus> | 1996-10-11 19:26:04 +0000 |
commit | 913a7c4cc4e7e97d9149e7cd10f3402be9abfe4b (patch) | |
tree | 4331b19879f81fcd39fceb469ce8f2ac9ca112e3 /gdb | |
parent | a5ecaa632b2102f99f4e0a09499a6906aced6fac (diff) | |
download | gdb-913a7c4cc4e7e97d9149e7cd10f3402be9abfe4b.zip gdb-913a7c4cc4e7e97d9149e7cd10f3402be9abfe4b.tar.gz gdb-913a7c4cc4e7e97d9149e7cd10f3402be9abfe4b.tar.bz2 |
* gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}:
Make it compile on Linux and eliminate some warnings.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/low-linux.c | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 034ff49..7cec888 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Fri Oct 11 12:18:32 1996 Mark Alexander <marka@cygnus.com> + + * 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 429d3db..a260575 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; |