From: Torsten Mohr <tmohr@s.netic.de>
To: gdb@sourceware.org
Subject: V850E simulator, assembler single-step never returns?!?
Date: Mon, 05 Jun 2006 19:42:00 -0000 [thread overview]
Message-ID: <200606052145.25672.tmohr@s.netic.de> (raw)
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.
next reply other threads:[~2006-06-05 19:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-05 19:42 Torsten Mohr [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200606052145.25672.tmohr@s.netic.de \
--to=tmohr@s.netic.de \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox