From: Peter Maydell <peter.maydell@linaro.org>
To: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: David Hildenbrand <dahi@linux.vnet.ibm.com>,
qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH v2] gdb: provide the name of the architecture in the target.xml
Date: Fri, 15 Jan 2016 14:18:17 +0000 [thread overview]
Message-ID: <CAFEAcA-0HQtwymQBHusBLqcQ2P0J5mZfnU6y9AeD+_6Rkpy4-g@mail.gmail.com> (raw)
In-Reply-To: <5697B045.4060500@de.ibm.com>
On 14 January 2016 at 14:27, Christian Borntraeger
<borntraeger@de.ibm.com> wrote:
> Ping?
>
> On 12/03/2015 01:14 PM, Christian Borntraeger wrote:
>> From: David Hildenbrand <dahi@linux.vnet.ibm.com>
>>
>> This patch provides the name of the architecture in the target.xml
>> if available.
>>
>> This allows the remote gdb to detect the target architecture on its
>> own - so there is no need to specify it manually (e.g. if gdb is
>> started without a binary) using "set arch *arch_name*".
>>
>> The name of the architecture is provided by a callback that can
>> be implemented by all architectures. The arm implementation has
>> special handling for iwmmxt and returns arm otherwise. This can
>> be extended if necessary.
>>
>> Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
>> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
>> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
>> [rework to use a callback]
>> ---
>> v1->v2: replace the fixed string with a callback
>>
>> gdbstub.c | 21 ++++++++++++++-------
>> include/qom/cpu.h | 3 +++
>> target-arm/cpu.c | 12 ++++++++++++
>> target-arm/cpu64.c | 6 ++++++
>> target-ppc/translate_init.c | 10 ++++++++++
>> target-s390x/cpu.c | 6 ++++++
>> 6 files changed, 51 insertions(+), 7 deletions(-)
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
(at least for the generic and ARM related bits).
thanks
-- PMM
next prev parent reply other threads:[~2016-01-15 14:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-03 12:14 [Qemu-devel] [PATCH v2] gdb: provide the name of the architecture in the target.xml Christian Borntraeger
2016-01-14 14:27 ` Christian Borntraeger
2016-01-15 14:18 ` Peter Maydell [this message]
2016-01-21 16:17 ` Christian Borntraeger
2016-01-21 16:28 ` Cornelia Huck
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=CAFEAcA-0HQtwymQBHusBLqcQ2P0J5mZfnU6y9AeD+_6Rkpy4-g@mail.gmail.com \
--to=peter.maydell@linaro.org \
--cc=borntraeger@de.ibm.com \
--cc=dahi@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
/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;
as well as URLs for NNTP newsgroup(s).