* gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}:

Make it compile on Linux and eliminate some warnings.
This commit is contained in:
Mark Alexander 1996-10-11 19:26:04 +00:00
parent a5ecaa632b
commit 913a7c4cc4
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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;