I have a small x86_64 assembly program and I don't see any register specifically called pc (program counter?), though there is the instruction pointer, in the rip register However, when I type in:
>>> p/x $rip
$15 = 0x4000c5
>>> p/x $pc
$16 = 0x4000c5
Both pc and rip have the same value. Is pc an alias to rip in gdb, or does it have another meaning?