aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1996-08-17 00:57:52 +0000
committerStan Shebs <shebs@codesourcery.com>1996-08-17 00:57:52 +0000
commit2f163bc3c80cdc114c67ab3f447face8bc6efb42 (patch)
tree8d3a892c11e808cbe03e9efb50377fc03bef3225 /gdb/rs6000-tdep.c
parent68fc375edd9bafa5e40bda9b9a8ca6d5a7612c73 (diff)
downloadgdb-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.c8
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