0% found this document useful (0 votes)
42 views1 page

GDB Processor Registers

The i r command in gdb displays the contents of CPU registers with the name, hexadecimal value, and decimal value; registers include program counter, stack pointer, flags, and general purpose registers used for arithmetic and memory access.

Uploaded by

Ravi Teja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views1 page

GDB Processor Registers

The i r command in gdb displays the contents of CPU registers with the name, hexadecimal value, and decimal value; registers include program counter, stack pointer, flags, and general purpose registers used for arithmetic and memory access.

Uploaded by

Ravi Teja
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Using gdb to View the CPU Registers

===================================

The i r command displays the current contents of the CPU registers.

The first column is the name of the register

The second shows the current bit pattern in the register, in hexadecimal.

The third column shows some the register contents in 32-bit/64-bit unsigned
decimal.

You might also like