This question might sound very naive, however, I got stuck when one of my friends asked me where can I find the address of an initialized register in the stack.
info registers in gdb gives us a list of registers and their corresponding values which are basically stored into it.
Is there any command or way in which I could find the addresses where the registers are actually located? If yes could someone please direct me towards it.
I am glad my friend asked me this question since it was something which I didn't notice earlier because there had not been a time where there was any need of the address where the registers are located.