This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: powerpc-unknown-elf-gdb, simulator, registers not updated
On Friday 24 May 2002 07:25 pm, Torsten Mohr wrote:
> thank you for that hint. That way i found out that
> this is an "insight" bug. In the "register window"
> the variables are not updated, but when i type
> "info reg" in the console, different values are
> shown.
OK, we have an Insight bug.
> What other files or information could help?
The next step is to set the environment variable GDBTK_DEBUG to 1. From bash,
that would be
"export GDBTK_DEBUG=1"
Then run Insight. Under the View pulldown menu, you should see "Debug
Window". Select this. Next open your register window and step a few times.
Look for error messages in the Debug Window as you do this. When you exit
Insight, you will find a file "insight.log" that is the saved contents of the
debug window.
Another thing you could try is download the latest sources for Insight and try
those. I rewrote much of the register window a couple of weeks ago. Or you
should just be able to copy the new register window source files into your
5.2 source tree. The files you need are gdbtk/generic/gdbtk-register.c,
gdbtk/library/regwin.it* and gdbtk/library/help/register.html
--
Martin Hunt
GDB Engineer
Red Hat, Inc.