* 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.
This commit is contained in:
Fred Fish
1996-08-01 17:30:37 +00:00
parent c2ba368448
commit 8efb80797c
4 changed files with 23 additions and 5 deletions

View File

@@ -56,6 +56,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifndef MIPS_EFI_SYMBOL_NAME
#define MIPS_EFI_SYMBOL_NAME "__GDB_EFI_INFO__"
extern void ecoff_relocate_efi PARAMS ((struct symbol *, CORE_ADDR));
#include "coff/sym.h"
#include "coff/symconst.h"
typedef struct mips_extra_func_info {
@@ -4179,7 +4180,10 @@ elfmdebug_build_psymtabs (objfile, swap, sec, section_offsets)
/* FIXME: This function is called only by mips-tdep.c. It needs to be
here because it calls functions defined in this file, but perhaps
this could be handled in a better way. */
this could be handled in a better way. Only compile it in when
tm-mips.h is included. */
#ifdef TM_MIPS_H
void
fixup_sigtramp ()
@@ -4281,6 +4285,8 @@ fixup_sigtramp ()
BLOCK_SYM (b, BLOCK_NSYMS (b)++) = s;
}
#endif /* TM_MIPS_H */
void
_initialize_mdebugread ()
{