aboutsummaryrefslogtreecommitdiff
path: root/gdb/x86-64-tdep.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-09-12 08:39:26 +0000
committerAlan Modra <amodra@gmail.com>2002-09-12 08:39:26 +0000
commitecd1107e8177b16c72a3bd940e84418e8e453ec1 (patch)
tree2a9986e14a3b2c9e923a82fcb89129ace56d8856 /gdb/x86-64-tdep.c
parent9ec878e36703a7cec6a58fb2a2980ce5ec9cb790 (diff)
downloadgdb-ecd1107e8177b16c72a3bd940e84418e8e453ec1.zip
gdb-ecd1107e8177b16c72a3bd940e84418e8e453ec1.tar.gz
gdb-ecd1107e8177b16c72a3bd940e84418e8e453ec1.tar.bz2
* x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
mach constants. * MAINTAINERS: Add myself to write after approval list.
Diffstat (limited to 'gdb/x86-64-tdep.c')
-rw-r--r--gdb/x86-64-tdep.c2
1 files changed, 1 insertions, 1 deletions
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. */
{