I guess "remote" was the wrong word. I only wanted to run the perl debugger within gdb when the perl process was running in a different window. I guess most of the time that would imply that the perl process is on another machine, but in my case Perl is embedded within an application that is using stdout and the terminal for its own purposes.
in reply to Re^2: Remote perl debugging via emacs
in thread Remote perl debugging via emacs
So yes, it only makes sense when the two share a filesystem. So you'd probably want NFS or something.