From: Alan Modra Date: Thu, 12 Sep 2002 08:39:26 +0000 (+0000) Subject: * x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ecd1107e8177b16c72a3bd940e84418e8e453ec1;p=binutils-gdb.git * x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded mach constants. * MAINTAINERS: Add myself to write after approval list. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e191274f34c..cb2e45dced1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-09-12 Alan Modra + + * 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 * osabi.c (gdb_osabi_name): Add entry for GDB_OSABI_INTERIX. diff --git a/gdb/MAINTAINERS b/gdb/MAINTAINERS index 7f884fca7bf..0eb3f241d41 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 a47f5e7e5af..dbc5611cb0d 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. */ {