kgdb patch for remote debugging an i386 linux-2.4.1-ac19

At the time I worked on this the most recent patch was for 2.4.0-test9. To get kgdb working on the most recent kernel a few things had to be changed. Before you try this please make sure that a more recent patch is not available at the official kgdb site [ kgdb.sourceforge.net ]. This is also the pace you will find all the instructions on how to use kgdb.

Note that this patch is an independent work not tied at all to the kgdb project; it comes as is with no warranty of any kind - all I can say is that it worked for me.

After completing the below patch I have discovered that a similar undertaking has taken place for kernel 2.4.0; this can be found [ here ].

As a public service I also made a patch that goes directly from 2.4.1 to 2.4.1-ac19+kgdb so that you can download the kernel and this patch and get it running right off the bat.



Bart Trojanowski
http://www.jukie.net/~bart
bart@jukie.net