[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] gdmserver
I wrote:
> I know for sure that it's still slightly broken. Please make a note of
> any strange behaviour, and if possible try to create small, isolated
> test cases so I can track down any bugs quickly.
Well after another meta-debug session (debugging the debugger!) I can
happily declare usermode application debugging support to be functional! :-)
Just the tiniest of tweaks was required in entry.S, to prevent it
partially clobbering the saved state during the debug trap handler.
If you haven't already followed the instructions in my previous post,
then doing so will automatically grab the latest (and correct) entry.S .
Otherwise, just go into arch/microblaze/kernel and do "cvs update
entry.S".
So, everyone out there doing real work and cursing your printf
debugging, please get in there and try the gdbserver support. I don't
need to tell you what a world of difference it will make! :-)
John
PS it is actually possible to debug the kernel and a user application at
the same time - you use mb-gdb connected via JTAG to do the kernel with
HW debugging, and mb-gdb-user + gdbserver connected via tcp/ip to do
usermode debugging.. mind-bending but possible!!
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/