Ooops! Sorry, folks! Having looked at my previous post a bit more closely, here is a revised gdb session:
==================================================== (gdb) set args -batch --no-init-file --no-site-file --multibyte -f batch-byte-compile quail/CCDOSPY.el (gdb) break callproc.c:1663 Breakpoint 1 at 0x81d2a04: file callproc.c, line 1663. (gdb) start Breakpoint 2 at 0x811c116: file emacs.c, line 829. Starting program: /home/cjh/GNUstep/Build/emacs-23.0.0_NS-9.0rc3/src/emacs -batch --no-init-file --no-site-file --multibyte -f batch-byte-compile quail/CCDOSPY.el [Thread debugging using libthread_db enabled] [New Thread -1222938496 (LWP 23322)] [Switching to Thread -1222938496 (LWP 23322)] main (argc=8, argv=0xbffec494) at emacs.c:829 829 stack_base = &dummy; (gdb) continue Continuing. Breakpoint 1, set_initial_environment () at callproc.c:1663 1663 for (envp = environ; *envp; envp++) (gdb) step 1664 Vprocess_environment = Fcons (build_string (*envp), (gdb) print envp $2 = (char **) 0xbffec4b8 (gdb) print *envp $3 = 0xbffec6a2 "SSH_AGENT_PID=7861" ======================================================= So much for my previous "theory". :P Thanks again, Chris Hall ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Emacs-app-dev- mailing list Emacs-app-dev-@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-