diff options
author | Fred Fish <fnf@specifix.com> | 1997-06-13 15:22:08 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1997-06-13 15:22:08 +0000 |
commit | cf2b165ede4973b9705217a070f7d8b89a6fe794 (patch) | |
tree | f6793961c3b85e1508c775337f59c3cc39574a34 /gdb/sh-tdep.c | |
parent | 56e327b302eee034d0b5c069163023e4cd81b0b7 (diff) | |
download | gdb-cf2b165ede4973b9705217a070f7d8b89a6fe794.zip gdb-cf2b165ede4973b9705217a070f7d8b89a6fe794.tar.gz gdb-cf2b165ede4973b9705217a070f7d8b89a6fe794.tar.bz2 |
* sh-tdep.c (symfile.h): Include.
(gdb_string.h): Include.
(sh_fix_call_dummy): Ifdef away, currently unused.
* config/sh/tm-sh.h (pop_frame): Add prototype.
* config/sh/tm-sh.h (sh_set_processor_type): Add prototype.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 57075d9..7c7002a 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -26,12 +26,14 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #include "frame.h" #include "obstack.h" #include "symtab.h" +#include "symfile.h" #include "gdbtypes.h" #include "gdbcmd.h" #include "gdbcore.h" #include "value.h" #include "dis-asm.h" #include "inferior.h" /* for BEFORE_TEXT_END etc. */ +#include "gdb_string.h" extern int remote_write_size; /* in remote.c */ @@ -531,7 +533,8 @@ sh_push_return_address (pc, sp) <destination> */ -int +#if 0 +void sh_fix_call_dummy (dummy, pc, fun, nargs, args, type, gcc_p) char *dummy; CORE_ADDR pc; @@ -543,6 +546,7 @@ sh_fix_call_dummy (dummy, pc, fun, nargs, args, type, gcc_p) { *(unsigned long *) (dummy + 8) = fun; } +#endif /* Function: get_saved_register Just call the generic_get_saved_register function. */ |