in GDB , i want to save the result of x/x $rsp
command , the value inside the address showing
example: the result of the command
x/x $rsp is 0xffffaaaa : (0x00400b)
i want to save that address 0x00400b that i highlighted between brackets inside a variable , and reuse that variable that contain 0x00400b inside another GDB command. example dump binary memory from that place when a breakpoint hits.