This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: V850E simulator, assembler single-step never returns?!?


Hi,

> > > i just single-stepped in the console (si).  It shows the same result
> > > plus:
> > > The last line in the console i see is:
> > > [not visible]../../../../newlib-1.14.0/newlib/libc/stdlib/mlock.c:51
> > > I attached the part from mlock.c below with line 51 marked.
> > > Though i don't think it can be related to that, as in the assembler
> > > this line just results to "jmp [lp]", also when i look at it in
> > > gdb console with "l *0x11f4".
> >
> > In this case, it is probably a bug in the simulator.

i just tried the latest insight-weekly, the same failure.

I also tried to add some printf() in v850.igen for "jarl".
I can see the output whenever i go over a jarl in the code,
but it looks to me that the problem is somewhere else hidden.

When i hit "next assembler instruction", not "step asm instruction",
i can hit the stop button and see that i obviously stepped over the
problematic code.
So i guess the problem may be related to displaying the code/output?

Can anybody please give me a hint on how to coninue from here?

Is there some special support for debugging gdb?


Best regards,
Torsten.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]