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]

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


Hi,

i use insight 6.4 built for target v850-unknown-elf.

My host is a x86 linux PC.

While debugging a program in the simulator i found that
at one point in the program flow the simulator never
returns.

This is reproducible.  In the program flow the PC is 0x0C66.
When i hit "Step Asm Inst (S)" i never get the chance again
to get control over "insight".

0xc62	<_malloc_r+104>:	jmp	[lp]
0xc64	<_malloc_r+106>:	mov	r25, r6
0xc66	<_malloc_r+108>:	jarl	0x11f4 <__malloc_lock>, lp
0xc6a	<_malloc_r+112>:	movea	503, r0, r10
0xc6e	<_malloc_r+116>:	cmp	r10, r28


000011f4 <___malloc_lock>:
    11f4:	7f 00       	jmp	[lp]

To my understanding this should never happen, right?

Is there anything i could have done wrong?

I can provide every further information you need, Sources, Setup,
ELF file, ...

I have set up insight for target V850, the tool chain produces code
for V850E (E at the end), but i got a hint (from either this list
or the "insight"-list) to use the target V850.


Can anybody give me a hint on this one?


Best regards,
Torsten.


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