aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/mips/tm-mips.h
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-08-01 17:30:37 +0000
committerFred Fish <fnf@specifix.com>1996-08-01 17:30:37 +0000
commit8efb80797cacf61ac0857cb9b149cac079356a3b (patch)
tree27e805f5af3c16e0c5a44c9bd0ef545ae1f48358 /gdb/config/mips/tm-mips.h
parentc2ba368448a5ea54a1e01cf59f5824aa0f7a535d (diff)
downloadgdb-8efb80797cacf61ac0857cb9b149cac079356a3b.zip
gdb-8efb80797cacf61ac0857cb9b149cac079356a3b.tar.gz
gdb-8efb80797cacf61ac0857cb9b149cac079356a3b.tar.bz2
* config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
this, define when contents are included. (mips_read_processor_type): Add prototype. * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h * mdebugread.c (ecoff_relocate_efi): Add prototype. (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
Diffstat (limited to 'gdb/config/mips/tm-mips.h')
-rw-r--r--gdb/config/mips/tm-mips.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index 935a277..95b9f07 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -20,6 +20,9 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
+#ifndef TM_MIPS_H
+#define TM_MIPS_H 1
+
#ifdef __STDC__
struct frame_info;
struct symbol;
@@ -537,3 +540,7 @@ extern struct frame_info *setup_arbitrary_frame PARAMS ((int, CORE_ADDR *));
extern CORE_ADDR sigtramp_address, sigtramp_end;
extern void fixup_sigtramp PARAMS ((void));
+/* Defined in mips-tdep.c and used in remote-mips.c */
+extern char *mips_read_processor_type PARAMS ((void));
+
+#endif /* TM_MIPS_H */