Skip to contentSkip to conversation

BDM for Linux Kernel Debugging - MMU Support available

DISCUSSION Wolfgang Denk 2 participants 2 messages Jul 13, 2000

lore
Share & tools
lore
#0 lore raw

Hi everybody,

so far, a BDM debugger was of no much use for Linux kernel debugging:
once the MMU is turned on (pretty early during kernel initialization) the BDM debugger is confronted with virtual addresses, and so far they just barfed.

This has changed:

* Frank Przybylski has added software-tablewalk code to his GDB
extensions for the MPCBDM "Do-it-yourself" debugger, see
http://www.vas-gmbh.de/software/mpcbdm/

* Abatron has implemented MMU support in recent firmware versions for their BDI box (see http://www.abatron.ch/BDI/bdimain.html); AFAIK they are the first tool provider that offers commercial MMU sup- port, and what's even more interesting: they provide it especially with Linux in their mind. [Right now available for MPC8xx CPUs, with PPC6xx/7XX (including MPC82xx) in the works.]

So we now have both a "free" and a "professional" solution for BDM based Linux kernel debugging, both interfacing with GDB (or DDD if you like) and allowing to debug kernel code (single stepping, break- points, etc.) and/or inspect kernel data... From what I've seen so far, both solutions provide the same features, and work with about the same speed - and with the same results.

Hope this helps,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected]
The software required `Windows 95 or better', so I installed Linux.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 6 lines · Wolfgang Denk

So we now have both a "free" and a "professional" solution for BDM based Linux kernel debugging, both interfacing with GDB (or DDD if you like) and allowing to debug kernel code (single stepping, break- points, etc.) and/or inspect kernel data... From what I've seen so far, both solutions provide the same features, and work with about the same speed - and with the same results.

Hey, what about Lauterbach? We have Linux-Awareness in our MPC8xx stuff too! I'll think I'll cancel the donation of the 8260 board to you ;-)).

Franz.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/