It is currently Tue, 14 Jul 2020 01:03:33 GMT



 
Author Message
 kernel serial debugging question
Background:
-----------

In the past, I have had to use the kernel serial de{*filter*} with the
2.2.14 kernel.

The steps I followed (if my notes are correct) were:

- in "make menuconfig", within "<Kernel Hacking>", select "<Kernel
support for GDB>"
- pass the additional options "gdb gdbttyS=1 gdbbaud=115200" to loadlin
- wait for the message "Waiting for connection from remote gdb on
ttyS1"

My question:
------------

Has any of this changed with the 2.4.x kernel?  I'm currently playing
with 2.4.19-pre9.  Is there a "serial de{*filter*}" patch that has to be
applied first, or is this support normally built-in?

The reason I ask is because I don't see the option "Kernel support for
GDB", which leads me to think that maybe this functionality actually
came from a patch that was applied on top of 2.2.14.

While I'm at it:  is there a "better", or perhaps a "more popular"
method of debugging the kernel?

Thanks,

Stephane Charette

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



 Wed, 24 Nov 2004 07:30:05 GMT   
 kernel serial debugging question

It's an external patch.  From http://www.**-**.com/
I have kgdb patches for all kernels back to 2.4.0-test.
Some of those can be found by poking around in
http://www.**-**.com/ ~akpm/linux/patches/.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at   http://www.**-**.com/
Please read the FAQ at   http://www.**-**.com/



 Wed, 24 Nov 2004 07:40:05 GMT   
 kernel serial debugging question

I've set up kernel remote debugging for 2.4.18 not so far ago. The
procedure is the same as for the 2.2.* series. You should simply use the
patch for the kernel version you use.

On my development machine I've set up one kernel with the kgdb internal
de{*filter*}, one kernel with the gdb-patch and one unpatched kernel with
the usual debugging stuff enabled ( all kernels of the same version - of
course ). Which kernel to run depends on the kind of problem to solve,
and is IMHO more a question of personal taste.

Regards
Frank

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



 Fri, 26 Nov 2004 13:40:06 GMT   
 
   [ 3 post ] 

Similar Threads

1. Help sending kernel debug output to serial port

2. Kernel debugging over serial port

3. Debug kernel without serial line?

4. : Kernel debugging (saving debug info)

5. Linux kernel debugging question

6. Source level kernel debugger to debug a UNIX kernel remotely

7. Serial Driver Name Question (kernels 2.4.x)

8. Serial Driver Name Question (kernels 2.4.x)

9. Serial port debugging


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software