[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] dbtrap question
John,
Yep, working with the latest distribution and toolset. As far as the
cause, I was hoping someone could suggest what would cause the microblaze to
end up in dbtrap, the backtrace shows nothing (as expected) and this occurs
without a debugger attached. The only thing that might suggest a cause is
that the project I'm working on has 20 separate interrupts and it appears
that I may be missing some of them (the dbtrap thing may be just trapping to
the wrong address). I've yet to prove that (hope to today) but the IIC core
tells me it has an interrupt to service yet the INTC core tells me there's
no pending interrupt to service. As far as the endless loop claim is
concerned, the console will lock up, I'll invoke the XMD virus and GDB and
the PC will be sitting in the middle of dbtrap. If you continue and stop the
microblaze again (and again and again) the PC is still sitting in dbtrap.
Bret
-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John Williams
Sent: Monday, February 06, 2006 10:58 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] dbtrap question
Hi Bret,
Bret Ketchum wrote:
> Anybody know why I would see my microblaze uClinux kernel wind up in
> an endless loop inside dbtrap?
I need a bit more info to answer this one. Are you on recent kernel and
tools (please say yes!)
What are you doing that winds up inside this dbtrap loop?
Can you explain what you mean by "endless loop inside dbtrap"?
dbtrap (vectored via address 0x60) is for userspace debugging support.
the soft breakpoint instruction is brki r14, 0x60. This is inserted by
the debugger, which then traps to dbtrap - dbtrap merrely send the
current process a SIG_TRAP signal, which is then handled by gdbserver.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/