Re: debugging kaffe117 on the arm (iphone)
"Dario Laverde" <[email protected]>
| Newsgroups | gmane.comp.java.vm.kaffe.general,gmane.spam.detected |
|---|---|
| Message-ID | <[email protected]> |
Unfortunately a gdb debugger is currently not possible on the iphone. Moreover I have to disable debug and vmdebug just to be able to compile/link so both options aren't possible. I've decided to move on to 1.1.8 instead (hence my other post), hoping for the best after noticing the --enable-scale configure flag. thanks, Dario > Yeah. This is where the real fun starts. You'll need a debugger, > preferrably gdb on the device, and you'll need to run Kaffe as in > > KAFFE_DEBUG=gdb ./kaffe-bin -cp . HelloIPhone > > to see what's going wrong, and to check out FAQ.debugging. > > The first SIGSEGV is likely going to be our stack size checking code, so > you can safely cont from it, and set gdb to > handle SIGXY noprint > if it pops up with a signal XY message (usually USR1/USR2, but the > actual numbers depend on the OS). > > Alternatively, you can run kaffe-bin with the > -vmdebug ALL option, that will show you all sorts of debug output, that > would be interesting to bzip2 and attach to a reply. > > cheers, > dalibor topic