aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/MAINTAINERS1
-rw-r--r--gdb/x86-64-tdep.c2
3 files changed, 8 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index e191274..cb2e45d 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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.
diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS
index 7f884fc..0eb3f24 100644
--- a/gdb/MAINTAINERS
+++ b/gdb/MAINTAINERS
@@ -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
diff --git a/gdb/x86-64-tdep.c b/gdb/x86-64-tdep.c
index a47f5e7..dbc5611 100644
--- a/gdb/x86-64-tdep.c
+++ b/gdb/x86-64-tdep.c
@@ -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. */
{