This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: H8300 - Addition of Pseudo registers has broken displaying ofCCR and EXR registers
- From: Andrew Cagney <cagney at gnu dot org>
- To: "Dhananjay R. Deshpande" <dhananjayd at KPITCummins dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Mon, 01 Dec 2003 11:03:21 -0500
- Subject: Re: H8300 - Addition of Pseudo registers has broken displaying ofCCR and EXR registers
- References: <69595093233BB547BB70CF5E492B63F202FBC7A0@sohm.kpit.com>
Hi,
With the addition of Pseudo registers, "info reg" command doesn't show correct values of CCR and EXR registers. If you set these registers from GDB ( set $ccr = 0x55 )then it shows correct value but when the register is modified by instruction it always shows "0". This fails both with SIM and remote target ( stub )
Sounds like it is never fetched, or being fetched from the wrong place
:-( What does "maint print raw-registers" (which dumps the raw state of
the register cache) display? Are you seeing calls to the simulator for
that register?
A testsuite/gdb.arch/ testcase is going to help here. Especially to
ensure that it doesn't break again.
enjoy,
Andrew