From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:42654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMg4w-000730-MD for qemu-devel@nongnu.org; Mon, 01 Apr 2013 10:51:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UMg4t-0005n6-IN for qemu-devel@nongnu.org; Mon, 01 Apr 2013 10:51:22 -0400 Received: from hall.aurel32.net ([2001:470:1f15:c4f::1]:52473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UMg4t-0005mp-BC for qemu-devel@nongnu.org; Mon, 01 Apr 2013 10:51:19 -0400 Date: Mon, 1 Apr 2013 16:51:15 +0200 From: Aurelien Jarno Message-ID: <20130401145115.GA17634@hall.aurel32.net> References: <1362443590-28191-1-git-send-email-rth@twiddle.net> <1362443590-28191-2-git-send-email-rth@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1362443590-28191-2-git-send-email-rth@twiddle.net> Sender: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH v2 01/27] disas: Disassemble all ppc insns for the host List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: av1474@comtv.ru, qemu-devel@nongnu.org On Mon, Mar 04, 2013 at 04:32:44PM -0800, Richard Henderson wrote: > Signed-off-by: Richard Henderson > --- > disas.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/disas.c b/disas.c > index a46faee..c0ac7ec 100644 > --- a/disas.c > +++ b/disas.c > @@ -322,6 +322,7 @@ void disas(FILE *out, void *code, unsigned long size) > s.info.mach = bfd_mach_x86_64; > print_insn = print_insn_i386; > #elif defined(_ARCH_PPC) > + s.info.disassembler_options = (char *)"any"; > print_insn = print_insn_ppc; > #elif defined(__alpha__) > print_insn = print_insn_alpha; Reviewed-by: Aurelien Jarno -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net