Hi Everyone, Hope you guys are doing good.
I would like to ask, How to write to register values in GDB ?
I am trying to write register value of (CSR_DPC at 0x7b1 ) using GDB. But so far i didnt get any success
I used monitor reg command to see the register values and was able to see the value of DPC register.
I have two questions
- How can i modify the value of this DPC register from GDB ?
- What is confusing is that, the address of DPC is 0x7b1 (decimal 1969), but the monitor reg command shows me 0x7F2 (decimal 2034).
Thanks you very much


Hi Everyone, Hope you guys are doing good.
I would like to ask, How to write to register values in GDB ?
I am trying to write register value of
(CSR_DPC at 0x7b1 )using GDB. But so far i didnt get any successI used
monitor regcommand to see the register values and was able to see the value of DPC register.I have two questions
Thanks you very much