Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* V850E simulator, assembler single-step never returns?!?
@ 2006-06-05 19:42 Torsten Mohr
  2006-06-05 20:42 ` Daniel Jacobowitz
  0 siblings, 1 reply; 13+ messages in thread
From: Torsten Mohr @ 2006-06-05 19:42 UTC (permalink / raw)
  To: gdb

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.


^ permalink raw reply	[flat|nested] 13+ messages in thread
* V850E simulator, assembler single-step never returns?!?
@ 2006-06-05 20:34 Torsten Mohr
  0 siblings, 0 replies; 13+ messages in thread
From: Torsten Mohr @ 2006-06-05 20:34 UTC (permalink / raw)
  To: gdb

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.


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2006-06-08 12:25 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-05 19:42 V850E simulator, assembler single-step never returns?!? Torsten Mohr
2006-06-05 20:42 ` Daniel Jacobowitz
2006-06-05 20:44   ` Keith Seitz
2006-06-05 20:50     ` Daniel Jacobowitz
2006-06-05 21:02       ` Keith Seitz
2006-06-05 22:36     ` Torsten Mohr
2006-06-05 22:41       ` Daniel Jacobowitz
2006-06-06  9:46         ` Torsten Mohr
2006-06-07 23:24           ` Torsten Mohr
2006-06-08  1:22             ` Daniel Jacobowitz
2006-06-08 12:12               ` Torsten Mohr
2006-06-08 21:37               ` Torsten Mohr
2006-06-05 20:34 Torsten Mohr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox