From: Maxim Grigoriev <maxim@tensilica.com>
To: Joel Brobecker <brobecker@adacore.com>
Cc: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: [commit] Fix Xtensa-specific bug in MI command
Date: Wed, 09 Mar 2011 18:38:00 -0000 [thread overview]
Message-ID: <4D77C3B2.5050106@tensilica.com> (raw)
In-Reply-To: <20110309035117.GR30306@adacore.com>
On 03/08/2011 07:51 PM, Joel Brobecker wrote:
>> Fix Xtensa-specific bug in MI command -data-list-changed-registers.
>>
> A small request: If you could give more details with your patches
> about what you are fixing. For the previous ones, there wasn't
> much to add, just extending support for new features. But for this
> one, it would have been helpful to know what type of bug it was.
> For instance, a transcript showing the issue can be useful to
> other people hitting the problem, and doing an internet search.
>
>
Eclipse CDT uses this MI command to get a list of changed
registers compared to the previous register file state saved before.
It happens, when Eclipse user opens a register display window.
After each new event in the debugging session, such as "step",
"next" ( which lead to executing some instruction(s) on the target ),
updated registers are high-lighted in that display window.
MI command -data-list-changed-registers uses generic hook
gdbarch_register_reggroup_p ()
to analyse updates to the register file.
Registers from standard GDB group "save_reggroup" have
to be always a part of this analysis.
It's been missing on Xtensa. That's why changed registers
did not always display properly in the Eclipse register
display window.
Thanks for your notes and suggestions,
-- Maxim Grigoriev
Tensilica, Inc.
Santa Clara, CA
408-566-1770
prev parent reply other threads:[~2011-03-09 18:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 3:46 Maxim Grigoriev
2011-03-09 4:26 ` Joel Brobecker
2011-03-09 18:38 ` Maxim Grigoriev [this message]
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=4D77C3B2.5050106@tensilica.com \
--to=maxim@tensilica.com \
--cc=brobecker@adacore.com \
--cc=gdb-patches@sourceware.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