Additional notes: - make-network-process signals a (file-missing "make client process failed" "No such file or directory" :name "server-client-test" :family local :server nil :noquery t :service "/dev/shm/madhu/emacs/emacs-test") which is not supposed to happen since the file would be created by the system call to socket. I suspect a wrong error is being reported because of some problem with pselect (which is interrupted when we enter gdb) - load custom.el to try to avoid an unrelated emacs-abort which otherwise seems to happen from within the custom mechanism - another unrelated emacs-bug. M-x gud-gdb -- emacs .. with the above arg line fails to pass the quoted arguments to gdb.