diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-08-13 01:22:17 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-08-13 01:22:17 +0000 |
commit | 726230095ecb85068a9c517291df03f34b11464f (patch) | |
tree | 86ce2e49b94c0dd98690c9d22fa40e9d966a431a /gdb/d30v-tdep.c | |
parent | 9fc2dda293dcc9ae108f3b2dd85021fdc0b180f7 (diff) | |
download | gdb-726230095ecb85068a9c517291df03f34b11464f.zip gdb-726230095ecb85068a9c517291df03f34b11464f.tar.gz gdb-726230095ecb85068a9c517291df03f34b11464f.tar.bz2 |
Protoization.
Diffstat (limited to 'gdb/d30v-tdep.c')
-rw-r--r-- | gdb/d30v-tdep.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gdb/d30v-tdep.c b/gdb/d30v-tdep.c index f20ab0b..125723a 100644 --- a/gdb/d30v-tdep.c +++ b/gdb/d30v-tdep.c @@ -97,9 +97,7 @@ static void print_flags_command (char *, int); int -d30v_frame_chain_valid (chain, fi) - CORE_ADDR chain; - struct frame_info *fi; /* not used here */ +d30v_frame_chain_valid (CORE_ADDR chain, struct frame_info *fi) { #if 0 return ((chain) != 0 && (fi) != 0 && (fi)->return_pc != 0); @@ -1028,10 +1026,8 @@ d30v_call_dummy_address (void) extract and copy its value into `valbuf'. */ void -d30v_extract_return_value (valtype, regbuf, valbuf) - struct type *valtype; - char regbuf[REGISTER_BYTES]; - char *valbuf; +d30v_extract_return_value (struct type *valtype, char regbuf[REGISTER_BYTES], + char *valbuf) { memcpy (valbuf, regbuf + REGISTER_BYTE (2), TYPE_LENGTH (valtype)); } |