* x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
authorAlan Modra <amodra@gmail.com>
Thu, 12 Sep 2002 08:39:26 +0000 (08:39 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 12 Sep 2002 08:39:26 +0000 (08:39 +0000)
mach constants.
* MAINTAINERS: Add myself to write after approval list.

gdb/ChangeLog
gdb/MAINTAINERS
gdb/x86-64-tdep.c

index e191274f34cf55db7a816bc57072d1300812abb0..cb2e45dced105cc408e5ee60773823d1ff3a7f29 100644 (file)
@@ -1,3 +1,9 @@
+2002-09-12  Alan Modra  <amodra@bigpond.net.au>
+
+       * x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
+       mach constants.
+       * MAINTAINERS: Add myself to write after approval list.
+
 2002-09-11  J. Brobecker  <brobecker@gnat.com>
 
        * osabi.c (gdb_osabi_name): Add entry for GDB_OSABI_INTERIX.
index 7f884fca7bfb7c494810d253e89ad98922c2a38c..0eb3f241d414295a4afd1db5dfdc06e0245e6ce2 100644 (file)
@@ -403,6 +403,7 @@ Glen McCready                                       gkm@redhat.com
 Greg McGary                                    greg@mcgary.org
 Jason Merrill                                  jason@redhat.com
 David S. Miller                                        davem@redhat.com
+Alan Modra                                     amodra@bigpond.net.au
 Jason Molenda                                  jmolenda@apple.com
 Pierre Muller                                  muller@sources.redhat.com
 Fernando Nasser                                        fnasser@redhat.com
index a47f5e7e5afa86f7c7da93ce5abb09bff9883951..dbc5611cb0d5d6786485fbd2a2284ebf70a8d19b 100644 (file)
@@ -1144,7 +1144,7 @@ _initialize_x86_64_tdep (void)
   }
 
   tm_print_insn = gdb_print_insn_x86_64;
-  tm_print_insn_info.mach = bfd_lookup_arch (bfd_arch_i386, 3)->mach;
+  tm_print_insn_info.mach = bfd_mach_x86_64;
 
   /* Add the variable that controls the disassembly flavour.  */
   {