Frustrating IDA/GDB Error: Bad register name is passed to getreg: PSR

The spoiler is that IDA does not operate properly with openocd 0.8.0, and you need to use openocd 0.7.0.

This one had us tearing our hair out!  Mostly because it’s unrecoverable, and immediately upon clicking OK to what seems to be a very minor complaint, IDA crashes very ungracefully without any database cleanup or other lifesaving maneuvers.

But somewhere along the line, we came across some page that mentioned openocd 0.8.0 broke some sort of interface for some other tool, and they were waiting for the tool to catch up.  Guess it’s the same here, IDA just has a little catching up to do.

For now, just ditch 0.8.0 and go back to 0.7.  That one should work fine.


This entry was posted in Projects and tagged , , . Bookmark the permalink.

One Response to "Frustrating IDA/GDB Error: Bad register name is passed to getreg: PSR"

Leave a replyLeave a Reply to DrTune