aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/sh/tm-sh.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1997-06-13 15:22:08 +0000
committerFred Fish <fnf@specifix.com>1997-06-13 15:22:08 +0000
commitcf2b165ede4973b9705217a070f7d8b89a6fe794 (patch)
treef6793961c3b85e1508c775337f59c3cc39574a34 /gdb/config/sh/tm-sh.h
parent56e327b302eee034d0b5c069163023e4cd81b0b7 (diff)
downloadgdb-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/config/sh/tm-sh.h')
-rw-r--r--gdb/config/sh/tm-sh.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h
index 0a3c083..5a7b09a 100644
--- a/gdb/config/sh/tm-sh.h
+++ b/gdb/config/sh/tm-sh.h
@@ -204,6 +204,7 @@ extern void sh_extract_return_value PARAMS ((struct type *, void *, void *));
#define INIT_EXTRA_FRAME_INFO(fromleaf, fi) \
sh_init_extra_frame_info(fromleaf, fi)
+extern void sh_init_extra_frame_info PARAMS ((int, struct frame_info *));
/* A macro that tells us whether the function invocation represented
by FI does not have a frame on the stack associated with it. If it
@@ -261,6 +262,7 @@ extern CORE_ADDR sh_push_return_address PARAMS ((CORE_ADDR, CORE_ADDR));
#define PUSH_RETURN_ADDRESS(PC, SP) sh_push_return_address (PC, SP)
+extern CORE_ADDR sh_frame_chain PARAMS ((struct frame_info *));
#define FRAME_CHAIN(FRAME) sh_frame_chain(FRAME)
#define PUSH_DUMMY_FRAME generic_push_dummy_frame ()
#define FRAME_CHAIN_VALID(FP, FRAME) generic_frame_chain_valid (FP, FRAME)
@@ -275,6 +277,7 @@ extern CORE_ADDR sh_push_return_address PARAMS ((CORE_ADDR, CORE_ADDR));
/* Discard from the stack the innermost frame, restoring all saved
registers. */
+extern void sh_pop_frame PARAMS ((void));
#define POP_FRAME sh_pop_frame();
#define NOP {0x20, 0x0b}
@@ -285,3 +288,5 @@ extern CORE_ADDR sh_push_return_address PARAMS ((CORE_ADDR, CORE_ADDR));
/* Need this for WinGDB. See gdb/mswin/{regdoc.h, gdbwin.c, gui.cpp}. */
#define TARGET_SH
+
+extern int sh_set_processor_type PARAMS ((char *));