aboutsummaryrefslogtreecommitdiff
path: root/gdb/d10v-tdep.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-08-13 01:22:17 +0000
committerKevin Buettner <kevinb@redhat.com>2000-08-13 01:22:17 +0000
commit726230095ecb85068a9c517291df03f34b11464f (patch)
tree86ce2e49b94c0dd98690c9d22fa40e9d966a431a /gdb/d10v-tdep.c
parent9fc2dda293dcc9ae108f3b2dd85021fdc0b180f7 (diff)
downloadgdb-726230095ecb85068a9c517291df03f34b11464f.zip
gdb-726230095ecb85068a9c517291df03f34b11464f.tar.gz
gdb-726230095ecb85068a9c517291df03f34b11464f.tar.bz2
Protoization.
Diffstat (limited to 'gdb/d10v-tdep.c')
-rw-r--r--gdb/d10v-tdep.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c
index ed71bfc..8b6f090 100644
--- a/gdb/d10v-tdep.c
+++ b/gdb/d10v-tdep.c
@@ -99,9 +99,7 @@ extern void d10v_frame_init_saved_regs (struct frame_info *);
static void do_d10v_pop_frame (struct frame_info *fi);
int
-d10v_frame_chain_valid (chain, frame)
- CORE_ADDR chain;
- struct frame_info *frame; /* not used here */
+d10v_frame_chain_valid (CORE_ADDR chain, struct frame_info *frame)
{
return ((chain) != 0 && (frame) != 0 && (frame)->pc > IMEM_START);
}
@@ -1092,10 +1090,8 @@ d10v_push_arguments (int nargs, value_ptr *args, CORE_ADDR sp,
extract and copy its value into `valbuf'. */
void
-d10v_extract_return_value (type, regbuf, valbuf)
- struct type *type;
- char regbuf[REGISTER_BYTES];
- char *valbuf;
+d10v_extract_return_value (struct type *type, char regbuf[REGISTER_BYTES],
+ char *valbuf)
{
int len;
/* printf("RET: TYPE=%d len=%d r%d=0x%x\n",type->code, TYPE_LENGTH (type), RET1_REGNUM - R0_REGNUM, (int) extract_unsigned_integer (regbuf + REGISTER_BYTE(RET1_REGNUM), REGISTER_RAW_SIZE (RET1_REGNUM))); */