diff options
author | Fred Fish <fnf@specifix.com> | 1996-08-01 17:30:37 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-08-01 17:30:37 +0000 |
commit | 8efb80797cacf61ac0857cb9b149cac079356a3b (patch) | |
tree | 27e805f5af3c16e0c5a44c9bd0ef545ae1f48358 /gdb/mdebugread.c | |
parent | c2ba368448a5ea54a1e01cf59f5824aa0f7a535d (diff) | |
download | gdb-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/mdebugread.c')
-rw-r--r-- | gdb/mdebugread.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 67ded75..5c23dda 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -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 () { |