From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8RV6-0007La-7i for qemu-devel@nongnu.org; Sun, 11 Aug 2013 04:59:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V8RV5-0005wq-3C for qemu-devel@nongnu.org; Sun, 11 Aug 2013 04:59:48 -0400 Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:50342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V8RV4-0005wl-Ug for qemu-devel@nongnu.org; Sun, 11 Aug 2013 04:59:47 -0400 Received: by mail-qc0-f173.google.com with SMTP id z10so2917347qcx.18 for ; Sun, 11 Aug 2013 01:59:46 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1376075958-21932-1-git-send-email-rth@twiddle.net> References: <1376075958-21932-1-git-send-email-rth@twiddle.net> From: Blue Swirl Date: Sun, 11 Aug 2013 08:59:25 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH 0/2] Disassembly with external objdump List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: peter.maydell@linaro.org, proljc@gmail.com, claudio.fontana@gmail.com, qemu-devel@nongnu.org, jcmvbkbc@gmail.com, gxt@mprc.pku.edu.cn On Fri, Aug 9, 2013 at 7:19 PM, Richard Henderson wrote: > We have one host platform (aarch64), and three target platforms > (openrisc, unicore32, xtensa) with no built-in disassembly support, > thanks largely to gplv3 silliness. > > Here's a first-cut at handling these cases with an external tool. > The qemu-produced dump file contains just a hex dump of bytes, and > a perl script is provided to pass those bytes through objdump. > > I've lightly tested this with aarch64 host running on Foundation. > Feedback appreciated. Nice idea, now that QEMU is now more easily portable to new host platforms. > > > r~ > > > Richard Henderson (2): > disas: Implement fallback to dump object code as hex > disas: Add disas-objdump.pl > > disas.c | 46 +++++++++++++++++++------ > scripts/disas-objdump.pl | 87 ++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 123 insertions(+), 10 deletions(-) > create mode 100755 scripts/disas-objdump.pl > > -- > 1.8.3.1 > >