Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* obvious: call arch-specific init function for disassembly info
@ 2005-02-24 20:27 Jim Blandy
  0 siblings, 0 replies; only message in thread
From: Jim Blandy @ 2005-02-24 20:27 UTC (permalink / raw)
  To: gdb-patches


Per the comment in include/dis-asm.h.

2005-02-22  Jim Blandy  <jimb@redhat.com>

	* disasm.c (gdb_disassemble_info): Call disassemble_init_for_target.

Index: gdb/disasm.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/disasm.c,v
retrieving revision 2.10
diff -c -p -r2.10 disasm.c
*** gdb/disasm.c	13 Apr 2004 16:38:54 -0000	2.10
--- gdb/disasm.c	22 Feb 2005 20:13:02 -0000
*************** gdb_disassemble_info (struct gdbarch *gd
*** 344,349 ****
--- 344,350 ----
    di.arch = gdbarch_bfd_arch_info (gdbarch)->arch;
    di.mach = gdbarch_bfd_arch_info (gdbarch)->mach;
    di.endian = gdbarch_byte_order (gdbarch);
+   disassemble_init_for_target (&di);
    return di;
  }
  


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-23 16:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-24 20:27 obvious: call arch-specific init function for disassembly info Jim Blandy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox