|
From: | Svante Signell |
Subject: | [Fwd: Debugging execve problems] |
Date: | Wed, 04 Jan 2012 16:44:20 +0100 |
Hi, Looks like this mail did not arrive to the ML. I'm resending and people interested can contact me for the non-stripped iconx executable (1MB), or build yourself from the Debian source. -------- Forwarded Message -------- From: Svante Signell <svante.signell@telia.com> Reply-to: svante.signell@telia.com To: Bug hurd mailing list <bug-hurd@gnu.org> Subject: Debugging execve problems Date: Wed, 04 Jan 2012 11:10:11 +0100 Hi, Attached are test programs and a partial gdb session to hunt down the problems with execv for the icon package: Without . in PATH: ================== ./a.out error in startup code /dev/fd/3: can't read interpreter file header With . in PATH: =============== PATH=.:$PATH; ./a.out Hello, hello. Test programs: test_execve.c (parts of src/icont/tunix.c) gcc -g test_execve.c -> a.out Icon executable: iconx icon application program (source): hello.icn icon application program (executable): hello gdb session (results up to now, not complete!): debugging_execve
test_execve.c
Description: Text Data
hello.icn
Description: Text document
hello
Description: application/shellscript
debugging_execve
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |