Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Sep 2004 16:54:31 -0400
From:      Kurt Miller <truk@optonline.net>
To:        freebsd-java@freebsd.org
Subject:   debugging 1.4 and execve
Message-ID:  <033d01c495e6$09de3230$1d0110ac@focus>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?033d01c495e6$09de3230$1d0110ac>