Services - tools - models - for embedded software development
Embecosm divider strip
Prev  Next

3.2.3.  Examining Registers

Examining registers in GDB causes no RSP packets to be exchanged. This is because the GDB client always obtains values for all the registers whenever it halts and caches that data. So for example in the following command sequence, there is no RSP traffic.

(gdb) print $pc
$1 = (void (*)()) 0x1264 <main+16>
(gdb) 
	
Embecosm divider strip