diff options
author | Alan Modra <amodra@bigpond.net.au> | 2002-09-12 08:39:26 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2002-09-12 08:39:26 +0000 |
commit | cadc9dfde5d5642bb72e517c9528b11667343df3 (patch) | |
tree | d57b900e9b19b4646ce707959101ea29898a2e70 /gdb | |
parent | 4d86bbd5768b395e85c53d23ec85e08a93fdade7 (diff) | |
download | gdb-cadc9dfde5d5642bb72e517c9528b11667343df3.tar.gz |
* 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')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/MAINTAINERS | 1 | ||||
-rw-r--r-- | gdb/x86-64-tdep.c | 2 |
3 files changed, 8 insertions, 1 deletions
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 <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 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. */ { |