Author Topic: registers Name in CPU Register debugger window in Codeblocks  (Read 8847 times)

Offline anandamu16

  • Multiple posting newcomer
  • *
  • Posts: 96
registers Name in CPU Register debugger window in Codeblocks
« on: April 05, 2017, 06:47:35 am »
Hey,

I want to use codeblocks for my Embedded Development.
Development platform: GNU GCC Compiler for ARM (5.4) , Codeblocks 16.01, gdb debugger

I am able to download the code into my devlopment board as well start debugging.
When I start debugging and check CPU Registers, it shows registers like r0, r1, r2......, r9, SP, PC. However Instead I want to see values like UART0, SPI, I2C etc. My question is how to map this information inside debugger to show the register Names like UART, SPI, ADC etc in debugger window instead of showing registers like r0, r1, PC, SP.? Which files are need to be added/modify to add the information about Register Name corresponding to memory map?

Any help and lead will be helpful.

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: registers Name in CPU Register debugger window in Codeblocks
« Reply #1 on: April 05, 2017, 08:41:28 pm »
At the moment you can't do this.

I am working on a solution, but sadly i have as good as no time to spare to work on it....
Here is the forum thread i am discussing this:
http://forums.codeblocks.org/index.php/topic,21457.0.html

and here is the repossitory i try to work on
https://github.com/bluehazzard/codeblocks_sf

Quote
Which files are need to be added/modify to add the information about Register Name corresponding to memory map?
you will need svd files to be able to do this...

greetings