Comparing register states in embedded gdb with regview

regview is a gdb based utility for viewing control register state. ADC, DMA, RCC,… I use it to view STM32 registers

I am not the original author, but I needed some additional features. In particular, the ability to save and compare states from two sessions. I had a reference prototype that worked and some code of my own that didn’t. Compare register states between the two helped me move forward.



The enhancement I talk about are here:

It is a fork of this original:

It uses register definitions from here:

gdb python is documented here:



Leave a Reply

Your email address will not be published. Required fields are marked *