Re: [discuss] Re: kgdb for x86_64 2.6 kernels

From: George Anzinger
Date: Fri Jan 09 2004 - 17:18:29 EST


Amit,

The base line kgdb code in the mm patches was offered by me. It derives from (a long time ago) a kgdb I got from the RTIA (or was it the RTLINUX) folks. Prio to that, well, your name is on it as well as others.

As you may have noted there have been a lot of changes, mostly for the better, I hope. I think we have slightly different objectives in our work. I debug kernels, not drivers, so I am interested in getting into kgdb as early as possible. To this end the current mm patch allows one to put a breakpoint() as the first line of C code in the kernel. This required a few adjustments, such as configuring the I/O port at CONFIG time, for example.

I would like for the two versions of kgdb to merge while keeping the features of both. The work on seperating the common code is something I like and, while I never do modules, the automatic module stuff in gdb sound good.

May I suggest that we compare and contrast the two versions and take a look at the differences and the overlaps and settle on one way of doing the various things.

George




--
George Anzinger george@xxxxxxxxxx
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/