On Sun, Jan 07, 2007 at 09:06:13 -0500, Robert P. J. Day wrote: > > i'm interested in paring down the possible kernel debugging > techniques to the 2 (or 3) most valuable ones, and trying to avoid > unnecessary duplication. this is for a tutorial i'm planning on > giving in the near future. > > at the high end, i'm going to cover "systemtap". but below that, > what do people consider the most useful tools? (and i'd like to > restrict it to tools that don't require extra H/W or a second host, > just to keep things simple.) > > gdb? kdb? kgdb? others? i'm open to recommendations. thanks. If you are working on a hardware independent part, it's very useful debug it on user-mode-linux using normal gdb, because it will not corrupt anything if it crashes. I believe there is some support for debugging drivers there as well, but I never tried it and would expect it's rather simplistict. -- Jan 'Bulb' Hudec <bulb@xxxxxx>
Attachment:
signature.asc
Description: Digital signature