]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2004-10-30 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sun, 31 Oct 2004 03:42:52 +0000 (03:42 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sun, 31 Oct 2004 03:42:52 +0000 (03:42 +0000)
* objfiles.c: Include "mdebugread.h".
* mdebugread.c: Include "mdebugread.h".
(ecoff_relocate_cfi): Delete.
* config/alpha/tm-alpha.h (ecoff_relcate_cfi): Delete.
* config/mips/tm-mips.h (ecoff_relcate_cfi): Delete.
* mdebugread.h (ecoff_relocate_efi): New file.
* Makefile.in: Update dependencies.

gdb/ChangeLog
gdb/Makefile.in
gdb/config/alpha/tm-alpha.h
gdb/config/mips/tm-mips.h
gdb/mdebugread.c
gdb/mdebugread.h [new file with mode: 0644]
gdb/objfiles.c

index 9d2850565509b2138721a3d61690a23d4d88ad6b..602ad2fc53fb3cfdbcf0d7bd93d8a13d98ab328e 100644 (file)
@@ -1,5 +1,13 @@
 2004-10-30  Andrew Cagney  <cagney@gnu.org>
 
+       * objfiles.c: Include "mdebugread.h".
+       * mdebugread.c: Include "mdebugread.h".
+       (ecoff_relocate_cfi): Delete.
+       * config/alpha/tm-alpha.h (ecoff_relcate_cfi): Delete.
+       * config/mips/tm-mips.h (ecoff_relcate_cfi): Delete.
+       * mdebugread.h (ecoff_relocate_efi): New file.
+       * Makefile.in: Update dependencies.
+       
        * mips-tdep.c (struct frame_extra_info): Delete.
        (temp_proc_desc): Delete.
 
index 22e44c72797420114b76abc9115b3ebd0907c23d..3fbe255109bb4b91b20f00af9c2e91152a672bd8 100644 (file)
@@ -727,6 +727,7 @@ macroexp_h = macroexp.h
 macroscope_h = macroscope.h $(macrotab_h) $(symtab_h)
 macrotab_h = macrotab.h
 main_h = main.h
+mdebugread_h = mdebugread.h
 memattr_h = memattr.h
 mips_mdebug_tdep_h = mips-mdebug-tdep.h
 mipsnbsd_tdep_h = mipsnbsd-tdep.h
@@ -2221,8 +2222,8 @@ mcore-tdep.o: mcore-tdep.c $(defs_h) $(frame_h) $(symtab_h) $(value_h) \
 mdebugread.o: mdebugread.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(gdbcore_h) \
        $(objfiles_h) $(gdb_obstack_h) $(buildsym_h) $(stabsread_h) \
        $(complaints_h) $(demangle_h) $(gdb_assert_h) $(block_h) \
-       $(dictionary_h) $(coff_sym_h) $(coff_symconst_h) $(gdb_stat_h) \
-       $(gdb_string_h) $(bfd_h) $(coff_ecoff_h) $(libaout_h) \
+       $(dictionary_h) $(mdebugread_h) $(coff_sym_h) $(coff_symconst_h) \
+       $(gdb_stat_h) $(gdb_string_h) $(bfd_h) $(coff_ecoff_h) $(libaout_h) \
        $(aout_aout64_h) $(aout_stab_gnu_h) $(expression_h)
 memattr.o: memattr.c $(defs_h) $(command_h) $(gdbcmd_h) $(memattr_h) \
        $(target_h) $(value_h) $(language_h) $(gdb_string_h)
@@ -2297,9 +2298,9 @@ objc-lang.o: objc-lang.c $(defs_h) $(symtab_h) $(gdbtypes_h) $(expression_h) \
        $(gdb_regex_h) $(regcache_h) $(block_h) $(infcall_h) $(valprint_h) \
        $(gdb_assert_h)
 objfiles.o: objfiles.c $(defs_h) $(bfd_h) $(symtab_h) $(symfile_h) \
-       $(objfiles_h) $(gdb_stabs_h) $(target_h) $(bcache_h) $(gdb_assert_h) \
-       $(gdb_stat_h) $(gdb_obstack_h) $(gdb_string_h) $(hashtab_h) \
-       $(breakpoint_h) $(block_h) $(dictionary_h)
+       $(objfiles_h) $(gdb_stabs_h) $(target_h) $(bcache_h) $(mdebugread_h) \
+       $(gdb_assert_h) $(gdb_stat_h) $(gdb_obstack_h) $(gdb_string_h) \
+       $(hashtab_h) $(breakpoint_h) $(block_h) $(dictionary_h)
 observer.o: observer.c $(defs_h) $(observer_h) $(command_h) $(gdbcmd_h) \
        $(observer_inc)
 ocd.o: ocd.c $(defs_h) $(gdbcore_h) $(gdb_string_h) $(frame_h) $(inferior_h) \
index c481ec2c07d5ae1683fd689dcf1d319f1536903f..fcf90deab3224ffad0f367dee1cc246c397380ae 100644 (file)
@@ -35,7 +35,6 @@ struct symbol;
    alpha_extra_func_info_t's off of this.  */
 
 #define MDEBUG_EFI_SYMBOL_NAME "__GDB_EFI_INFO__"
-extern void ecoff_relocate_efi (struct symbol *, CORE_ADDR);
 
 #define RA_REGNUM 26           /* XXXJRT needed by mdebugread.c */
 
index fb73bf56866d498505ac3bffbed6db2537f29b11..2f2ab9d7d402fd85a81130adc5b27ed11b696cb1 100644 (file)
@@ -49,7 +49,6 @@ extern int mips_step_skips_delay (CORE_ADDR);
    hang mdebug_extra_func_info's off of this.  */
 
 #define MDEBUG_EFI_SYMBOL_NAME "__GDB_EFI_INFO__"
-extern void ecoff_relocate_efi (struct symbol *, CORE_ADDR);
 
 /* Specific information about a procedure.
    This overlays the MIPS's PDR records, 
index a930dbe8bee468760d5e1a36e4da9a16175bdb33..009430c020ad2c6703d31cb916a6254403e30c4a 100644 (file)
 #include "gdb_assert.h"
 #include "block.h"
 #include "dictionary.h"
+#include "mdebugread.h"
 
 /* These are needed if the tm.h file does not contain the necessary
    mips specific definitions.  */
 
 #ifndef MDEBUG_EFI_SYMBOL_NAME
 #define MDEBUG_EFI_SYMBOL_NAME "__GDB_EFI_INFO__"
-extern void ecoff_relocate_efi (struct symbol *, CORE_ADDR);
 #include "coff/sym.h"
 #include "coff/symconst.h"
 struct mdebug_extra_func_info
diff --git a/gdb/mdebugread.h b/gdb/mdebugread.h
new file mode 100644 (file)
index 0000000..e1a5d1a
--- /dev/null
@@ -0,0 +1,27 @@
+/* Read a symbol table in ECOFF format (Third-Eye).
+
+   Copyright 2004 Free Software Foundation, Inc.
+
+   This file is part of GDB.
+
+   This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   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 MDEBUGREAD_H
+#define MDEBUGREAD_H
+
+extern void ecoff_relocate_efi (struct symbol *, CORE_ADDR);
+
+#endif /* MDEBUGREAD_H */
index a4aa652f2581c2dc39203c863566b5b7bdbcffab..9528d580d8a02e68c3bdae6ad569f204ce3c14af 100644 (file)
@@ -33,7 +33,7 @@
 #include "gdb-stabs.h"
 #include "target.h"
 #include "bcache.h"
-
+#include "mdebugread.h"
 #include "gdb_assert.h"
 #include <sys/types.h>
 #include "gdb_stat.h"