All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony@codemonkey.ws>
To: Stefan Weil <sw@weilnetz.de>
Cc: "Peter Maydell" <peter.maydell@linaro.org>,
	"Andreas Färber" <afaerber@suse.de>,
	qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] GPLv3 troubles
Date: Mon, 17 Oct 2011 13:29:14 -0500	[thread overview]
Message-ID: <4E9C73FA.6070309@codemonkey.ws> (raw)
In-Reply-To: <4E9C71D7.9@weilnetz.de>

On 10/17/2011 01:20 PM, Stefan Weil wrote:
> Am 17.10.2011 20:16, schrieb Anthony Liguori:
>> On 10/17/2011 12:58 PM, Andreas Färber wrote:
>>> Am 17.10.2011 18:51, schrieb Anthony Liguori:
>>>> Including binutils code is just a bad idea.
>>>
>>> Do you see a real alternative? Would it be possible to pipe machine code
>>> from QEMU into an external disassembler?
>>
>> Sure. This is only used in the monitor for interactive debugging, right?
>
> The disassembler is also used with -d in_asm or -d out_asm to write qemu.log.
> I expect that a pipe to an external disassembler would slow down execution with -d
> significantly.

How difficult would it be to add tracing to tcg-target.c such that you could get 
out_asm that way?

At least with i386, there's just a few instruction forms so it should just be a 
matter of a few trace points with a table of opcode names.

Likewise, we could add tracing to translate.c to achieve the same affect as in_asm.

Tracing's probably a far better approach for debugging as you would be able to 
do some very interesting things with SystemTap and such a mechanism.

Regards,

Anthony Liguori

> Regards,
> Stefan Weil
>
>

  reply	other threads:[~2011-10-17 18:29 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-10  2:25 [Qemu-devel] [PATCH 0/7] target-xtensa: add overlay parsing header and convert hand-written core definitions to use overlays Max Filippov
2011-10-10  2:25 ` [Qemu-devel] [PATCH 1/7] target-xtensa: increase xtensa options accuracy Max Filippov
2011-10-10  2:26 ` [Qemu-devel] [PATCH 2/7] target-xtensa: remove hand-written xtensa cores implementations Max Filippov
2011-10-10  2:26 ` [Qemu-devel] [PATCH 3/7] target-xtensa: implement external interrupt mapping Max Filippov
2011-10-10  2:26 ` [Qemu-devel] [PATCH 4/7] target-xtensa: extract core configuration from overlay Max Filippov
2011-10-10  2:26 ` [Qemu-devel] [PATCH 5/7] target-xtensa: add dc232b core Max Filippov
2011-10-10  2:26 ` [Qemu-devel] [PATCH 6/7] target-xtensa: add fsf core Max Filippov
2011-10-15  9:02   ` Blue Swirl
2011-10-15 13:15     ` Max Filippov
2011-10-15 13:44       ` Max Filippov
2011-10-15 13:50         ` Blue Swirl
2011-10-15 14:08           ` [Qemu-devel] [PATCH v2] " Max Filippov
2011-10-17 10:45     ` [Qemu-devel] GPLv3 troubles (was: [PATCH 6/7] target-xtensa: add fsf core) Andreas Färber
2011-10-17 10:47       ` [Qemu-devel] GPLv3 troubles Paolo Bonzini
2011-10-17 11:07         ` Andreas Färber
2011-10-17 11:10           ` Paolo Bonzini
2011-10-17 16:39             ` Andreas Färber
2011-10-17 16:47               ` Peter Maydell
2011-10-17 16:51                 ` Anthony Liguori
2011-10-17 17:58                   ` Andreas Färber
2011-10-17 18:16                     ` Anthony Liguori
2011-10-17 18:18                       ` Peter Maydell
2011-10-17 18:20                       ` Stefan Weil
2011-10-17 18:29                         ` Anthony Liguori [this message]
2011-10-17 18:34                           ` Peter Maydell
2011-10-17 18:37                             ` Anthony Liguori
2011-10-17 19:33                           ` Blue Swirl
2011-10-17 19:43                   ` Blue Swirl
2011-10-17 17:01                 ` Andreas Färber
2011-10-17 12:38       ` Anthony Liguori
2011-10-17 12:50         ` Paolo Bonzini
2011-10-17 14:17           ` Anthony Liguori
2011-10-17 14:27             ` Paolo Bonzini
2011-10-17 16:30             ` Andreas Färber
2011-10-17 16:47               ` Anthony Liguori
2011-10-17 17:46                 ` Stefan Weil
2011-10-17 19:29                   ` Blue Swirl
2011-10-17 20:44                   ` Avi Kivity
2011-10-18  8:01                     ` Markus Armbruster
2011-10-18 13:03                       ` Anthony Liguori
2011-10-18 14:33                         ` Andreas Färber
2011-10-18 14:36                           ` Anthony Liguori
2011-10-18 14:44                             ` nicolas.sauzede
2011-10-18 15:00                         ` andrzej zaborowski
2011-10-18 15:19                         ` Peter Maydell
2011-10-18 15:31                           ` Paolo Bonzini
2011-10-18 16:01                             ` Anthony Liguori
2011-10-18 16:15                               ` Peter Maydell
2011-10-18 16:20                                 ` Avi Kivity
2011-10-18 16:30                                 ` Anthony Liguori
2011-10-18 16:32                                   ` Peter Maydell
2011-10-18 16:37                               ` Paolo Bonzini
2011-10-18 18:44                                 ` Blue Swirl
2011-10-18 15:56                           ` Anthony Liguori
2011-10-18 16:14                             ` Peter Maydell
2011-10-25 14:34                         ` Dor Laor
2012-01-25 21:16                           ` Stefan Weil
2012-01-26 18:05                   ` Michael Walle
2011-10-17 17:52                 ` Andreas Färber
2011-10-10  2:26 ` [Qemu-devel] [PATCH 7/7] target-xtensa: rename dc232b board to sim Max Filippov
2011-10-15 21:29 ` [Qemu-devel] [PATCH 0/7] target-xtensa: add overlay parsing header and convert hand-written core definitions to use overlays Blue Swirl
2011-10-15 21:52   ` Max Filippov
2011-10-16  6:15     ` Stefan Weil

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=4E9C73FA.6070309@codemonkey.ws \
    --to=anthony@codemonkey.ws \
    --cc=afaerber@suse.de \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=sw@weilnetz.de \
    /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 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.