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

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

Attachment: gdbserver-uc-new.tar.gz
Description: GNU Zip compressed data