From 22b0d388c7f3d6271df8e2193a1c4f4d4a7d973d Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 18 Jul 2003 20:16:23 +0000 Subject: [PATCH] 2003-07-18 Andrew Cagney From 2003-07-04 Kei Sakamoto : * disasm.c (gdb_disassemble_info): Initilize di.arch. --- gdb/ChangeLog | 5 +++++ gdb/disasm.c | 1 + 2 files changed, 6 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 572457448cc..9fa5f4c5c97 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2003-07-18 Andrew Cagney + + From 2003-07-04 Kei Sakamoto : + * disasm.c (gdb_disassemble_info): Initilize di.arch. + 2003-07-18 Andrew Cagney * dwarf2-frame.c (dwarf2_frame_sniffer): Use diff --git a/gdb/disasm.c b/gdb/disasm.c index 2c5e7c97642..f86ec3f5058 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; -- 2.30.2