[kaffe] Debugging
Michael Franz
mvfranz at gmail.com
Sun Nov 21 11:12:25 PST 2004
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?
>
> At least I can see which line is executed by doing this. If I have to
> report some problem caused by original kaffe.def, then I need to do
> some calculation but it should be easier to see the inside of gdb ;-)
>
> Kiyo
>
More information about the kaffe
mailing list