[kaffe] Debugging

Djordje Nikolic dmn at ict-tower.com
Sun Nov 21 13:12:19 PST 2004


On Sun, 2004-11-21 at 14:12 -0500, Michael Franz wrote:
> On Mon, 22 Nov 2004 04:07:55 +0900 (JST), Kiyo Inaba
> <inaba at src.ricoh.co.jp> wrote:
> > Hi,
> > 
> > <mvfranz at gmail.com> wrote:
> > ><pinaki2003 at yahoo.com> wrote:
> > >> Well, actually I can step inside kaffe.def from the function
> > >> runVirtualMachine. But it just says "in kaffe.def: line n" without showing
> > >> the C code that's getting executed. So that's what I meant in my earlier
> > >> mail. Are you getting the same problem?
> > >That is what I get.
> > 
> > I have experienced this several times. And I believe it can be called
> > a bug of gdb, but fixing it should need extra effort, and I modify
> > {intrp,jit,jit3}/machine.c to include the contents of 'kaffe.def' where
> > originally 'include' statement exists.
> Can this be solved by changing the file name to kaffe.h or kaffe.c? 
> Will that allow gdb to step into it correctly?
> > 

For me "directory /home/djole/misc/cvs/kaffe/kaffe/kaffevm/" inside gdb
works just fine... Lines inside kaffe.def are shown as they are
executed.

Regards,





More information about the kaffe mailing list