diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-07-18 20:16:34 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-07-18 20:16:34 +0000 |
commit | 273386ee44a8fad9fe0f8d32e1a154aaed337d37 (patch) | |
tree | eabfc415db7797a278a1f8cfbdfca070f4f9e95e | |
parent | 86f9162ce30e8819356db3ab82942cbb03dc69a7 (diff) | |
download | gdb-273386ee44a8fad9fe0f8d32e1a154aaed337d37.zip gdb-273386ee44a8fad9fe0f8d32e1a154aaed337d37.tar.gz gdb-273386ee44a8fad9fe0f8d32e1a154aaed337d37.tar.bz2 |
2003-07-18 Andrew Cagney <cagney@redhat.com>
From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
* disasm.c (gdb_disassemble_info): Initilize di.arch.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/disasm.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 85eeea3..9a894f1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2003-07-18 Andrew Cagney <cagney@redhat.com> + From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: + * disasm.c (gdb_disassemble_info): Initilize di.arch. + +2003-07-18 Andrew Cagney <cagney@redhat.com> + * ui-out.h (struct ui_file): Add opaque declaration. 2003-07-17 Elena Zannoni <ezannoni@redhat.com> diff --git a/gdb/disasm.c b/gdb/disasm.c index 2c5e7c9..f86ec3f 100644 --- a/gdb/disasm.c +++ b/gdb/disasm.c @@ -331,6 +331,7 @@ gdb_disassemble_info (struct gdbarch *gdbarch, struct ui_file *file) Further, it has been supperseeded by trust-read-only-sections (although that should be superseeded by target_trust..._p()). */ di.read_memory_func = dis_asm_read_memory; + di.arch = gdbarch_bfd_arch_info (gdbarch)->arch; di.mach = gdbarch_bfd_arch_info (gdbarch)->mach; di.endian = gdbarch_byte_order (gdbarch); return di; |