H8300 - Addition of Pseudo registers has broken displaying of CCR and EXR registers

Andrew Cagney cagney@gnu.org
Mon Dec 1 16:03:00 GMT 2003


> 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




More information about the Gdb mailing list