diff options
author | Stan Shebs <shebs@codesourcery.com> | 1996-08-17 00:57:52 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1996-08-17 00:57:52 +0000 |
commit | 2f163bc3c80cdc114c67ab3f447face8bc6efb42 (patch) | |
tree | 8d3a892c11e808cbe03e9efb50377fc03bef3225 /gdb/rs6000-tdep.c | |
parent | 68fc375edd9bafa5e40bda9b9a8ca6d5a7612c73 (diff) | |
download | gdb-2f163bc3c80cdc114c67ab3f447face8bc6efb42.zip gdb-2f163bc3c80cdc114c67ab3f447face8bc6efb42.tar.gz gdb-2f163bc3c80cdc114c67ab3f447face8bc6efb42.tar.bz2 |
* rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments.
* config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments
to function, declare function correctly.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r-- | gdb/rs6000-tdep.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c index e89390a..e1aeab5 100644 --- a/gdb/rs6000-tdep.c +++ b/gdb/rs6000-tdep.c @@ -637,12 +637,14 @@ pop_frame () its argumets will be passed by gdb. */ void -fix_call_dummy (dummyname, pc, fun, nargs, type) +rs6000_fix_call_dummy (dummyname, pc, fun, nargs, args, type, gcc_p) char *dummyname; CORE_ADDR pc; CORE_ADDR fun; - int nargs; /* not used */ - int type; /* not used */ + int nargs; + value_ptr *args; + struct type *type; + int gcc_p; { #define TOC_ADDR_OFFSET 20 #define TARGET_ADDR_OFFSET 28 |