Last night I was debugging with GDB. The GDB is a remote Red hat machine, and I log into with putty. I didn't finish my debug last night, and I left.
But this morning when I come back ,the PuTTy is disconnect with the Ret Hat Shell, and I login the Red hat machine, find that the GDB is still runnning, but I am not in the same shell as the one in last night. How can I still use that GDB instance to keep my debugging. I don't won't to restart the whole program since it takes much time to build and run.