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

Re: [microblaze-uclinux] microblaze-uclinux-gdb



Hi Falk,

Brettschneider Falk wrote:

now I installed the latest KDevelop (KDevelop-3.5.1 on SuSE-10.0) because remote debugging was not possible in general with our old KDevelop version. One of the requirements for KDevelop was to install a newer gdb (6.7.90).

Next I tried to setup remote debugging in the KDevelop project to work with the gdbserver running on PetaLinux-v0.3-rc1 but it doesn't work. KDevelop doesn't log that it has established a TCP connection to the gdbserver, though I don't know about the exact internal error. My suspicion is microblaze-uclinux-gdb is too old. When starting with -nw on command line it shows:
GNU gdb 5.3PetaLinux 0.20 Build -rc1

mb-uclinux-gdb is specifically tweaked to target microblaze (and uclinux). It knows, for example, the opcodes to write to MicroBlaze memory to trigger a bsoft breakpoint. A mainline gdb won't know about this.

If I do remote debugging without KDevelop, everything works well.

Is it easily possible to upgrade microblaze-uclinux-gdb to gdb version 6.7.x?

The most recent version of mb-gdb is 6.5 - newer than what's in PetaLinux but not the 6.7 you are seeking.

Cheers,

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/