[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] GDB with uClinux



Hi John,

Thanks, I really appreciate your help on this.  I'll try this out 
today and see what we can get it to do.  Please keep us posted on
any updates.

regards,
Walt

-----Original Message-----
From: owner-microblaze-uclinux@itee.uq.edu.au
[mailto:owner-microblaze-uclinux@itee.uq.edu.au]On Behalf Of John
Williams
Sent: Monday, March 21, 2005 9:58 PM
To: microblaze-uclinux@itee.uq.edu.au
Subject: Re: [microblaze-uclinux] GDB with uClinux


Hi again,

John Williams wrote:
> John Williams wrote:
> 
>> Basically I've resurrected my  patched gdbserver for 
>> microblaze/uClinux support - see attached archive.  move your existing 
>> user/gdbserver directory aside, and extract this archive in its place.

Attached is a newer version of the archive, I'm homing in on getting 
this working.  You will need to freshen 
linux/arch/microblaze/kernel/ptrace.c and entry.S from CVS.

I've implemented support for gdb's remote "z/Z" packets - I'll spare you 
the details but it means we don't need custom versions of mb-gdb, and 
don't need to resort to the horrible hacks i mentioned earlier today.

Status now is that I can set at least one breakpoint, and have it 
trigger/trap correctly.  Stack frames seem to be OK, and I can inspect 
memory/local variables and function parameters etc.

Multiple breakpoints, and singlestepping don't work yet.   Anyway, it's 
getting there :)

Rgds,

John

___________________________
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/