All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/2] Disassembly with external objdump
@ 2013-08-09 19:19 Richard Henderson
  2013-08-09 19:19 ` [Qemu-devel] [PATCH 1/2] disas: Implement fallback to dump object code as hex Richard Henderson
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Richard Henderson @ 2013-08-09 19:19 UTC (permalink / raw)
  To: qemu-devel; +Cc: jcmvbkbc, gxt, proljc, claudio.fontana, peter.maydell

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.


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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2013-09-03 13:19 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-09 19:19 [Qemu-devel] [PATCH 0/2] Disassembly with external objdump Richard Henderson
2013-08-09 19:19 ` [Qemu-devel] [PATCH 1/2] disas: Implement fallback to dump object code as hex Richard Henderson
2013-08-09 19:19 ` [Qemu-devel] [PATCH 2/2] disas: Add disas-objdump.pl Richard Henderson
2013-08-10  4:08   ` Max Filippov
2013-08-10 10:39     ` Richard Henderson
2013-08-10  1:54 ` [Qemu-devel] [PATCH 0/2] Disassembly with external objdump Jia Liu
2013-08-10  9:16 ` Peter Maydell
2013-08-10 10:22   ` Claudio Fontana
2013-08-10 15:45     ` Peter Maydell
2013-08-10 16:42       ` Richard Henderson
2013-08-10 16:53         ` Max Filippov
2013-08-10 19:47           ` Richard Henderson
2013-09-03 13:18             ` Claudio Fontana
2013-08-11  8:59 ` Blue Swirl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.