Reputation: 339
This is a simple question I have regarding gdb debugger, when I use the command " i r $rbp" the address that is printed is the actual address of rbp or just an address the points to rbp's address? thank you
Upvotes: 0
Views: 46
Reputation: 213375
is the actual adress of rbp or just an adress the points to rbp's adress
You are confused: registers do not have addresses, only names.
When you do info register $rbp
, you get the value stored in the register. That value may be interpreted as an integer, or an address, or a float. It's just bits.
Upvotes: 3