BDM for Linux Kernel Debugging - MMU Support available

2 messages, 2 authors, 2000-07-13 · open the first message on its own page

BDM for Linux Kernel Debugging - MMU Support available

From: Wolfgang Denk <hidden>
Date: 2000-07-13 14:33:09

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: wd@denx.de
 The software required `Windows 95 or better', so I installed Linux.

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

Re: BDM for Linux Kernel Debugging - MMU Support available

From: Franz Sirl <hidden>
Date: 2000-07-13 16:45:34

At 16:33 13.07.00, Wolfgang Denk wrote:
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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help