* [ECOS] Problem using GDB to debug IXP425 target with BDI2000 JTAG
@ 2005-05-06 12:12 Supreeth Reddy
2005-05-06 12:22 ` Gary Thomas
0 siblings, 1 reply; 2+ messages in thread
From: Supreeth Reddy @ 2005-05-06 12:12 UTC (permalink / raw)
To: ecos-discuss
Hi All,
I am facing a problem trying to debug multi-threaded
applications with GDB using the BDI2000 JTAG while
connecting to my IXDP425 based target.
I get a SIGTRAP in this code in context.S -
FUNC_START_ARM(hal_thread_load_context, r2)
.
.
.
bx lr
#else
movs pc,lr // also restores saved PSR
#endif
at movs pc,lr. I can see that both pc and lr are
valid.
I saw some messages in past with GDB and
multi-threading on ARM targets, is that issue still
around or is it fixed ? Any suggestions will be of
great help.
Thanks,
Supreeth
___________________________________________________________
Yahoo! Messenger - want a free and easy way to contact your friends online? http://uk.messenger.yahoo.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] Problem using GDB to debug IXP425 target with BDI2000 JTAG
2005-05-06 12:12 [ECOS] Problem using GDB to debug IXP425 target with BDI2000 JTAG Supreeth Reddy
@ 2005-05-06 12:22 ` Gary Thomas
0 siblings, 0 replies; 2+ messages in thread
From: Gary Thomas @ 2005-05-06 12:22 UTC (permalink / raw)
To: Supreeth Reddy; +Cc: eCos Discussion
On Fri, 2005-05-06 at 13:11 +0100, Supreeth Reddy wrote:
> Hi All,
>
> I am facing a problem trying to debug multi-threaded
> applications with GDB using the BDI2000 JTAG while
> connecting to my IXDP425 based target.
>
> I get a SIGTRAP in this code in context.S -
>
> FUNC_START_ARM(hal_thread_load_context, r2)
> .
> .
> .
> bx lr
> #else
> movs pc,lr // also restores saved PSR
> #endif
>
> at movs pc,lr. I can see that both pc and lr are
> valid.
Also note that this instruction can (and does) fiddle with
the address space. This means that the MMU may need to be
set up properly for the instructions at 'pc'/'lr' to work.
Have you looked at the MMU state to verify this?
>
> I saw some messages in past with GDB and
> multi-threading on ARM targets, is that issue still
> around or is it fixed ? Any suggestions will be of
> great help.
That discussion has no relevance to your problem.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-05-06 12:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-06 12:12 [ECOS] Problem using GDB to debug IXP425 target with BDI2000 JTAG Supreeth Reddy
2005-05-06 12:22 ` Gary Thomas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).