[parisc-linux] More strange problems

Bjorn Helgaas bjorn_helgaas@hp.com
Thu, 27 Sep 2001 11:51:15 -0600


> > r0-3     00000000 00000008 0007c7b7 bff00938
> > ...
> >  IIR: 48340038    ISR: 00000014  IOR: 00000024
> >  CPU:        0   CR30: 29164000 CR31: 10350000
> >  ORIG_R28: 00206000
>
> The truly dedicated will decode IIR to see what instruction it was,
> cross-check which register in the dump was wrong then try to debug
> the program.

Decoding IIR is actually pretty easy if you have an HP-UX system with adb:

$ echo "0x48340038=i" | adb
                LDW             28(r1),r20

adb prints the offset in decimal, so this is 0x1c(0x8) = 0x24, which 
matches the IOR.  I wish I knew how to do the same with gdb.