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/gdbserver/low-linux.c | |
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/gdbserver/low-linux.c')
-rw-r--r-- | gdb/gdbserver/low-linux.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; |