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.
How can I use the same shell I worked in the past as I was disconnect by long time no operation in Putty?
linux;shell;rhel;gnu screen;putty