debugging 1.4 and execve

Kurt Miller truk at optonline.net
Wed Sep 8 13:54:28 PDT 2004


I'm working on the 1.4 port for OpenBSD and need to
debug the jdk. gdb becomes mostly useless after an
execve call in java_md.c

777           execve(newexec, argv, newenvp);
(gdb) 

Program received signal SIGTRAP, Trace/breakpoint trap.
Cannot remove breakpoints because program is no longer writable.
It might be running in another process.
Further execution is probably impossible.
0x019ef160 in ?? ()
(gdb) bt
#0  0x03235160 in ?? ()

Does anyone have a suggestion on how to keep gdb
working after the execve?

Thanks,
-Kurt


More information about the freebsd-java mailing list