Revert 2004-04-16 change.
authorBrian Ford <ford@vss.fsi.com>
Fri, 30 Apr 2004 21:13:58 +0000 (21:13 +0000)
committerBrian Ford <ford@vss.fsi.com>
Fri, 30 Apr 2004 21:13:58 +0000 (21:13 +0000)
* i386-tdep.c (i386_gdbarch_init): Fix comment typos.
(i386_coff_init_abi): Remove.
* i386-tdep.h (i386_coff_init_abi): Remove.
* i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.

gdb/ChangeLog
gdb/i386-cygwin-tdep.c
gdb/i386-tdep.c
gdb/i386-tdep.h

index aaba0f97d0395eed74e749e8329ceb785ff1d344..771eeae2e99850a4209cbd4b0e24a720d4747291 100644 (file)
@@ -1,3 +1,11 @@
+2004-04-30  Brian Ford  <ford@vss.fsi.com>
+
+       Revert 2004-04-16 change.
+       * i386-tdep.c (i386_gdbarch_init): Fix comment typos.
+       (i386_coff_init_abi): Remove.
+       * i386-tdep.h (i386_coff_init_abi): Remove.
+       * i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.
+
 2004-04-30  Andrew Cagney  <cagney@redhat.com>
 
        * blockframe.c (find_pc_partial_function): Delete use of
index 6047b03a40f4b814f164fc2788e2da10fcb02040..443f8f7c2237635110218fa8d0e81e79e568d7cb 100644 (file)
@@ -31,8 +31,6 @@ i386_cygwin_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
 {
   struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
 
-  i386_coff_init_abi (info, gdbarch);
-
   tdep->struct_return = reg_struct_return;
 }
 
index 5e4eec94daf1d77ed7eb8113eb8063b459eca156..8542ef9f763fbdf661fc06210e8f0b660903e467 100644 (file)
@@ -1788,16 +1788,6 @@ i386_svr4_sigcontext_addr (struct frame_info *next_frame)
 }
 \f
 
-/* Generic COFF.  */
-
-void
-i386_coff_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch)
-{
-  /* We typically use DWARF-in-COFF with the dbx register numbering.  */
-  set_gdbarch_dwarf_reg_to_regnum (gdbarch, i386_dbx_reg_to_regnum);
-  set_gdbarch_dwarf2_reg_to_regnum (gdbarch, i386_dbx_reg_to_regnum);
-}
-
 /* Generic ELF.  */
 
 void
@@ -2006,7 +1996,7 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
      gcc/config/i386.c.  GCC also defines a third numbering scheme in
      gcc/config/i386.c, which it designates as the "default" register
      map used in 64bit mode.  This last register numbering scheme is
-     implemented in dbx64_register_map, and us used for AMD64; see
+     implemented in dbx64_register_map, and is used for AMD64; see
      amd64-tdep.c.
 
      Currently, each GCC i386 target always uses the same register
@@ -2025,8 +2015,8 @@ i386_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
      native compiler (FreeBSD, NetBSD, OpenBSD, GNU/Linux) or for
      targets where the native toolchain uses a different numbering
      scheme for a particular debug format (stabs-in-ELF on Solaris)
-     the defaults below will have to be overridden, like the functions
-     i386_coff_init_abi() and i386_elf_init_abi() do.  */
+     the defaults below will have to be overridden, like
+     i386_elf_init_abi() does.  */
 
   /* Use the dbx register numbering scheme for stabs and COFF.  */
   set_gdbarch_stab_reg_to_regnum (gdbarch, i386_dbx_reg_to_regnum);
index 06066c578454c4a33699a174fba85f960c6d55e8..32ef04994e11486d9abde42f54f166b378da49d6 100644 (file)
@@ -210,9 +210,6 @@ extern const struct regset *
   i386_regset_from_core_section (struct gdbarch *gdbarch,
                                 const char *sect_name, size_t sect_size);
 
-/* Initialize a basic COFF architecture variant.  */
-extern void i386_coff_init_abi (struct gdbarch_info, struct gdbarch *);
-
 /* Initialize a basic ELF architecture variant.  */
 extern void i386_elf_init_abi (struct gdbarch_info, struct gdbarch *);
 
This page took 0.035229 seconds and 4 git commands to generate.