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 572457448cc7a9144e0b0e9f7cb77680aaaf4f74..9fa5f4c5c97ce0edd62d84c7d7d5afd2b1a2130b 100644 (file)
@@ -1,3 +1,8 @@
+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
index 2c5e7c976424760d32eca9c66d2557c5609f70c9..f86ec3f5058b7b4a98a0fe065cef590c4d9f3b3c 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;