Re: trouble setting breakpoints in my jni code with ddd/gdb

2000-01-04 Thread Nathan Meyers
SHUDO Kazuyuki wrote: > If you'd like to use green threads usually, you may > modify the bin/.java_wrapper file. Modify the following > line as you like: > > DEFAULT_THREADS_FLAG=native It should also work just to set (and export) the environment variable THREADS_FLAG=green. Nathan SHUDO Ka

Re: trouble setting breakpoints in my jni code with ddd/gdb

2000-01-04 Thread SHUDO Kazuyuki
Richard Johnson wrote: > Program received signal ?, Unknown signal. > 0x4012eb6e in __sigsuspend (set=0xb2a8) at >../sysdeps/unix/sysv/linux/sigsuspend.c:48 I guess your GNU debugger (gdb) doesn't support LinuxThreads which JDK uses as native threads. I can get the following message with gd

Re: trouble setting breakpoints in my jni code with ddd/gdb

2000-01-04 Thread richard johnson
On Mon, 03 Jan 2000, you wrote: > richard johnson wrote: > > > > Program received signal ?, Unknown signal. > > 0x4012eb6e in __sigsuspend (set=0xb2a8) at >../sysdeps/unix/sysv/linux/sigsuspend.c:48 > > 48 ../sysdeps/unix/sysv/linux/sigsuspend.c: No such file or directory. > > The "no

Re: trouble setting breakpoints in my jni code with ddd/gdb

2000-01-03 Thread Nathan Meyers
richard johnson wrote: > The use of the LD_PRELOAD allowed me > to set the breakpoint in my native library (after as you suggested, > setting the breakpoint in main() and stopping there). I bought > your book too! > > Unfortunately, I am not reaching this breakpoint instead dying > during jvm in

Re: trouble setting breakpoints in my jni code with ddd/gdb

2000-01-03 Thread richard johnson
On Thu, 30 Dec 1999, Nathan Meyers wrote: > richard johnson wrote: > > > > Hello, > > > > I am in the process of porting a JNI dynamic library to > > Unix that was developed on wiindows. I have made > > some errors and would like to debug but am having > > some troubles using ddd and gdb. > >

Re: trouble setting breakpoints in my jni code with ddd/gdb

1999-12-30 Thread Nathan Meyers
richard johnson wrote: > > Hello, > > I am in the process of porting a JNI dynamic library to > Unix that was developed on wiindows. I have made > some errors and would like to debug but am having > some troubles using ddd and gdb. JNI debugging is a bit tricky, because of the need to set a br