Protoization.
This commit is contained in:
parent
46d59bfa43
commit
5af20574b3
3 changed files with 12 additions and 15 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2000-11-05 Kevin Buettner <kevinb@redhat.com>
|
||||||
|
|
||||||
|
* v850-tdep.c (handle_prepare, handle_pushm): Remove extraneous
|
||||||
|
blank line after function declarator.
|
||||||
|
* v850ice.c (v850ice_xfer_memory, do_gdb): Protoize.
|
||||||
|
|
||||||
2000-11-03 Kevin Buettner <kevinb@redhat.com>
|
2000-11-03 Kevin Buettner <kevinb@redhat.com>
|
||||||
|
|
||||||
* utils.c (add_continuation, add_intermediate_continuation,
|
* utils.c (add_continuation, add_intermediate_continuation,
|
||||||
|
|
|
@ -114,7 +114,6 @@ struct reg_list
|
||||||
static void
|
static void
|
||||||
handle_prepare (int insn, int insn2, CORE_ADDR * current_pc_ptr,
|
handle_prepare (int insn, int insn2, CORE_ADDR * current_pc_ptr,
|
||||||
struct prologue_info *pi, struct pifsr **pifsr_ptr)
|
struct prologue_info *pi, struct pifsr **pifsr_ptr)
|
||||||
|
|
||||||
{
|
{
|
||||||
CORE_ADDR current_pc = *current_pc_ptr;
|
CORE_ADDR current_pc = *current_pc_ptr;
|
||||||
struct pifsr *pifsr = *pifsr_ptr;
|
struct pifsr *pifsr = *pifsr_ptr;
|
||||||
|
@ -191,7 +190,6 @@ handle_prepare (int insn, int insn2, CORE_ADDR * current_pc_ptr,
|
||||||
static void
|
static void
|
||||||
handle_pushm (int insn, int insn2, struct prologue_info *pi,
|
handle_pushm (int insn, int insn2, struct prologue_info *pi,
|
||||||
struct pifsr **pifsr_ptr)
|
struct pifsr **pifsr_ptr)
|
||||||
|
|
||||||
{
|
{
|
||||||
struct pifsr *pifsr = *pifsr_ptr;
|
struct pifsr *pifsr = *pifsr_ptr;
|
||||||
long list12 = ((insn & 0x0f) << 16) + (insn2 & 0xfff0);
|
long list12 = ((insn & 0x0f) << 16) + (insn2 & 0xfff0);
|
||||||
|
|
|
@ -584,18 +584,15 @@ v850ice_prepare_to_store (void)
|
||||||
|
|
||||||
/* Read or write LEN bytes from inferior memory at MEMADDR, transferring
|
/* Read or write LEN bytes from inferior memory at MEMADDR, transferring
|
||||||
to or from debugger address MYADDR. Write to inferior if SHOULD_WRITE is
|
to or from debugger address MYADDR. Write to inferior if SHOULD_WRITE is
|
||||||
nonzero. Returns length of data written or read; 0 for error.
|
nonzero. TARGET is unused. Returns length of data written or read;
|
||||||
|
0 for error.
|
||||||
|
|
||||||
We can only read/write MAX_BLOCK_SIZE bytes at a time, though, or the DLL
|
We can only read/write MAX_BLOCK_SIZE bytes at a time, though, or the DLL
|
||||||
dies */
|
dies. */
|
||||||
/* ARGSUSED */
|
/* ARGSUSED */
|
||||||
static int
|
static int
|
||||||
v850ice_xfer_memory (memaddr, myaddr, len, should_write, target)
|
v850ice_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len,
|
||||||
CORE_ADDR memaddr;
|
int should_write, struct target_ops *target)
|
||||||
char *myaddr;
|
|
||||||
int len;
|
|
||||||
int should_write;
|
|
||||||
struct target_ops *target; /* ignored */
|
|
||||||
{
|
{
|
||||||
long retval;
|
long retval;
|
||||||
char cmd[100];
|
char cmd[100];
|
||||||
|
@ -826,11 +823,7 @@ ice_cont (char *c)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
do_gdb (cmd, str, func, count)
|
do_gdb (char *cmd, char *str, void (*func) (char *, int), int count)
|
||||||
char *cmd;
|
|
||||||
char *str;
|
|
||||||
void (*func) (char *, int);
|
|
||||||
int count;
|
|
||||||
{
|
{
|
||||||
ReplyMessage ((LRESULT) 1);
|
ReplyMessage ((LRESULT) 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue