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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/rs6000-tdep.c | 8 |
2 files changed, 11 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 44f6e22..6554bb4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Fri Aug 16 17:54:26 1996 Stan Shebs <shebs@andros.cygnus.com> + + * 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. + Fri Aug 16 17:24:35 1996 Dawn Perchik <dawn@critters.cygnus.com> * symtab.h: changed namespace to _namespace for compiling under 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 |