Author Topic: GDB, remote/embedded ARM and Registers  (Read 2300 times)

jporkkahtc

  • Senior Community Member
  • Posts: 1942
  • Hero Points: 185
  • Text
GDB, remote/embedded ARM and Registers
« on: November 28, 2013, 07:31:34 pm »
I'm trying to use Slick for debugging an embedded project.
The registers window seems to work, but it has 65 registers named "Unknown" along with the real registers.

Where is that coming from?

Also, every time you single-step the sorting in the registers window resets to the default.

Sorting is less-than ideal as well...
r0
r1
r10
r11
r12
r2
r3

....it should list them r0...12 in that order.


kafolske

  • Community Member
  • Posts: 14
  • Hero Points: 0
Re: GDB, remote/embedded ARM and Registers
« Reply #1 on: March 20, 2014, 10:35:11 pm »
I am seeing the same thing.  Very annoying.  My version shows 83 unknown registers!

If you dump registers from the command line (gdb), you don't see the unknowns so this must be generated by SlickEdit.

gdb command line:
(gdb) info registers
r0             0x1   1
r1             0xa5a5a5a5   -1515870811
r2             0xa5a5a5a5   -1515870811
r3             0x0   0
r4             0x20000004   536870916
r5             0xa5a5a5a5   -1515870811
r6             0xa5a5a5a5   -1515870811
r7             0xa5a5a5a5   -1515870811
r8             0xa5a5a5a5   -1515870811
r9             0xa5a5a5a5   -1515870811
r10            0xa5a5a5a5   -1515870811
r11            0xa5a5a5a5   -1515870811
r12            0xa5a5a5a5   -1515870811
sp             0x20001508   0x20001508
lr             0x0   0
pc             0x8005c11   0x8005c11 <prvIdleTask+8>
xpsr           0x0   0

I have attached a screenshot of the SlickEdit output in case support is watching these threads.
« Last Edit: March 20, 2014, 10:37:35 pm by kafolske »