open-power / pdbg

PowerPC FSI Debugger
Apache License 2.0
17 stars 39 forks source link

ram_instructions bug? #24

Closed hlandau closed 6 years ago

hlandau commented 6 years ago

Shouldn't it be opcode = mfspr(1, 277) here?

https://github.com/open-power/pdbg/blob/master/libpdbg/chip.c#L161

cyrilbur-ibm commented 6 years ago

Hi Hlandau, Possibly, although I have a few other concerns there. Thanks for bringing this to my attention, I'll have a deeper look.

apopple commented 6 years ago

Thanks @hlandau for reporting and @cyrilbur-ibm for submitting the fix.