From: Jim Blandy <jimb@redhat.com>
To: gdb-patches@sources.redhat.com
Subject: obvious: call arch-specific init function for disassembly info
Date: Thu, 24 Feb 2005 20:27:00 -0000 [thread overview]
Message-ID: <vt2650jdzqf.fsf@zenia.home> (raw)
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;
}
reply other threads:[~2005-02-23 16:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vt2650jdzqf.fsf@zenia.home \
--to=jimb@redhat.com \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox