Protoization.
This commit is contained in:
parent
23a87948dd
commit
120abad8b7
@ -1,3 +1,9 @@
|
||||
2000-10-09 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* remote-nindy.c (non_dle, nindy_xfer_inferior_memory): Protoize.
|
||||
* remote-os9k.c (rombug_xfer_inferior_memory): Protoize.
|
||||
* remote-rdi.c (arm_rdi_xfer_memory): Protoize.
|
||||
|
||||
2000-10-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
|
||||
|
||||
* config/i386/i386sol2.mh: Add XM_CLIBS definition to resolve
|
||||
|
@ -240,14 +240,13 @@ nindy_files_info (void)
|
||||
nindy_initial_brk ? " with initial break" : "");
|
||||
}
|
||||
|
||||
/* Return the number of characters in the buffer before
|
||||
the first DLE character. */
|
||||
/* Return the number of characters in the buffer BUF before
|
||||
the first DLE character. N is maximum number of characters to
|
||||
consider. */
|
||||
|
||||
static
|
||||
int
|
||||
non_dle (buf, n)
|
||||
char *buf; /* Character buffer; NOT '\0'-terminated */
|
||||
int n; /* Number of characters in buffer */
|
||||
non_dle (char *buf, int n)
|
||||
{
|
||||
int i;
|
||||
|
||||
@ -482,15 +481,12 @@ nindy_store_registers (int regno)
|
||||
|
||||
/* Copy LEN bytes to or from inferior's memory starting at MEMADDR
|
||||
to debugger memory starting at MYADDR. Copy to inferior if
|
||||
SHOULD_WRITE is nonzero. Returns the length copied. */
|
||||
SHOULD_WRITE is nonzero. Returns the length copied. TARGET is
|
||||
unused. */
|
||||
|
||||
int
|
||||
nindy_xfer_inferior_memory (memaddr, myaddr, len, should_write, target)
|
||||
CORE_ADDR memaddr;
|
||||
char *myaddr;
|
||||
int len;
|
||||
int should_write;
|
||||
struct target_ops *target; /* ignored */
|
||||
nindy_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
|
||||
int should_write, struct target_ops *target)
|
||||
{
|
||||
if (len <= 0)
|
||||
return 0;
|
||||
|
@ -818,14 +818,15 @@ rombug_read_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len)
|
||||
return len;
|
||||
}
|
||||
|
||||
/* FIXME-someday! merge these two. */
|
||||
/* Transfer LEN bytes between GDB address MYADDR and target address
|
||||
MEMADDR. If WRITE is non-zero, transfer them to the target,
|
||||
otherwise transfer them from the target. TARGET is unused.
|
||||
|
||||
Returns the number of bytes transferred. */
|
||||
|
||||
static int
|
||||
rombug_xfer_inferior_memory (memaddr, myaddr, len, write, target)
|
||||
CORE_ADDR memaddr;
|
||||
char *myaddr;
|
||||
int len;
|
||||
int write;
|
||||
struct target_ops *target; /* ignored */
|
||||
rombug_xfer_inferior_memory (CORE_ADDR memaddr, char *myaddr, int len,
|
||||
int write, struct target_ops *target)
|
||||
{
|
||||
if (write)
|
||||
return rombug_write_inferior_memory (memaddr, myaddr, len);
|
||||
|
@ -622,16 +622,12 @@ arm_rdi_store_registers (int regno)
|
||||
/* Read or write LEN bytes from inferior memory at MEMADDR,
|
||||
transferring to or from debugger address MYADDR. Write to inferior
|
||||
if SHOULD_WRITE is nonzero. Returns length of data written or
|
||||
read; 0 for error. */
|
||||
read; 0 for error. TARGET is unused. */
|
||||
|
||||
/* ARGSUSED */
|
||||
static int
|
||||
arm_rdi_xfer_memory (memaddr, myaddr, len, should_write, target)
|
||||
CORE_ADDR memaddr;
|
||||
char *myaddr;
|
||||
int len;
|
||||
int should_write;
|
||||
struct target_ops *target; /* ignored */
|
||||
arm_rdi_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
|
||||
int should_write, struct target_ops *target)
|
||||
{
|
||||
int rslt, i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user