2003-07-18 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Fri, 18 Jul 2003 20:16:23 +0000 (20:16 +0000)
committerAndrew Cagney <cagney@redhat.com>
Fri, 18 Jul 2003 20:16:23 +0000 (20:16 +0000)
From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>:
        * disasm.c (gdb_disassemble_info): Initilize di.arch.

gdb/ChangeLog
gdb/disasm.c

index 5724574..9fa5f4c 100644 (file)
@@ -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>
+
        * dwarf2-frame.c (dwarf2_frame_sniffer): Use
        frame_unwind_address_in_block, instead of frame_pc_unwind.
        (dwarf2_frame_cache): Ditto.
index 2c5e7c9..f86ec3f 100644 (file)
@@ -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;