top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

GDB: How register information is printed in gdb ?

+1 vote
237 views
GDB: How register information is printed in gdb ?
posted May 15, 2016 by Neeraj Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Following commands are used to fetch register information:
$info registers
This command shows all the registers available.
If you want to print a value of specific to register then use following format.
$info registers
For example:
$info registers eax /* eax is one of the registers ; in case of executable for 64 bit, register name start with r */

answer May 17, 2016 by Harshita
Similar Questions
+2 votes

There is a huge list shown by command "info signals" with the GDB.
Can someone please explain about these information in details ?
How can an user interpret these information ?

...