I've a macbook and a dell inspiron,(don't see any serial plugins);
but wanted to see if there is any way to use this debugger i.g.
usb, or anything, if not oh well.
when configuring kgdb I just said "y" to all of the options.
When booting, using kgdboc=off (not sure if this is correct or not);
lets me boot into the system, or else freeze.
under dmesg I see this:

[ 0.618288] ------------[ cut here ]------------
[ 0.618502] WARNING: at drivers/misc/kgdbts.c:302
check_and_rewind_pc+0x9a/0xb4()
[ 0.618845] Modules linked in:
[ 0.619000] Pid: 1, comm: swapper Not tainted 2.6.27-rc5-00006-gbef69ea #15
[ 0.619321] [] warn_on_slowpath+0x41/0x65
[ 0.619568] [] ? release_console_sem+0x185/0x18d
[ 0.619849] [] ? kgdb_correct_hw_break+0x13/0xc7
[ 0.622511] [] ? notifier_call_chain+0x2b/0x4a
[ 0.622511] [] ? __atomic_notifier_call_chain+0x11/0x13
[ 0.622511] [] ? kgdbts_break_test+0x0/0x1e
[ 0.622511] [] ? printk+0x15/0x17
[ 0.622511] [] ? kgdbts_break_test+0x0/0x1e
[ 0.622511] [] check_and_rewind_pc+0x9a/0xb4
[ 0.622511] [] ? kgdb_breakpoint+0x13/0x24
[ 0.622511] [] ? kgdbts_break_test+0x0/0x1e
[ 0.622511] [] validate_simple_test+0x22/0x69
[ 0.622511] [] run_simple_test+0x1a1/0x20e
[ 0.622511] [] kgdbts_put_char+0x14/0x16
[ 0.622511] [] put_packet+0x6b/0xbb
[ 0.622511] [] kgdb_handle_exception+0xba5/0xc6d
[ 0.622511] [] kgdb_notify+0x139/0x160
[ 0.622511] [] notifier_call_chain+0x2b/0x4a
[ 0.622511] [] __atomic_notifier_call_chain+0x11/0x13
[ 0.622511] [] atomic_notifier_call_chain+0xc/0xe
[ 0.622511] [] notify_die+0x2d/0x2f
[ 0.622511] [] do_int3+0x29/0x67
[ 0.622511] [] int3+0x27/0x2c
[ 0.622511] [] ? kgdb_breakpoint+0x13/0x24
[ 0.622511] [] configure_kgdbts+0x1ba/0x404
[ 0.622511] [] init_kgdbts+0x13/0x15
[ 0.622511] [] _stext+0x3d/0x129
[ 0.622511] [] ? init_kgdbts+0x0/0x15
[ 0.622511] [] ? register_irq_proc+0x9c/0xb5
[ 0.622511] [] ? init_irq_proc+0x28/0x33
[ 0.622511] [] kernel_init+0xf9/0x147
[ 0.622511] [] ? kernel_init+0x0/0x147
[ 0.622511] [] kernel_thread_helper+0x7/0x10
[ 0.622511] =======================
[ 0.622511] ---[ end trace 1534190084874a32 ]---
[ 0.622511] kgdbts: ERROR PUT: end of test buffer on
'singlestep_breakpoint_test' line 3 expected kgdbts_break_test got
$000000000000000046000000ab00000064ff84f740ff84f7e 803000000000000
[ 0.622511] ------------[ cut here ]------------
[ 0.622511] WARNING: at drivers/misc/kgdbts.c:721
run_simple_test+0x1de/0x20e()
[ 0.622511] Modules linked in:
[ 0.622511] Pid: 1, comm: swapper Tainted: G W
2.6.27-rc5-00006-gbef69ea #15
[ 0.622511] [] warn_on_slowpath+0x41/0x65
[ 0.622511] [] ? release_console_sem+0x185/0x18d
[ 0.622511] [] ? __atomic_notifier_call_chain+0x11/0x13
[ 0.622511] [] ? kgdbts_break_test+0x0/0x1e
[ 0.622511] [] ? printk+0x15/0x17
[ 0.622511] [] ? printk+0x15/0x17
[ 0.622511] [] run_simple_test+0x1de/0x20e
[ 0.622511] [] kgdbts_put_char+0x14/0x16
[ 0.622511] [] put_packet+0x6b/0xbb
[ 0.622511] [] kgdb_handle_exception+0xba5/0xc6d
[ 0.622511] [] kgdb_notify+0x139/0x160
[ 0.622511] [] notifier_call_chain+0x2b/0x4a
[ 0.622511] [] __atomic_notifier_call_chain+0x11/0x13
[ 0.622511] [] atomic_notifier_call_chain+0xc/0xe
[ 0.622511] [] notify_die+0x2d/0x2f
[ 0.622511] [] do_int3+0x29/0x67
[ 0.622511] [] int3+0x27/0x2c
[ 0.622511] [] ? kgdb_breakpoint+0x13/0x24
[ 0.622511] [] configure_kgdbts+0x1ba/0x404
[ 0.622511] [] init_kgdbts+0x13/0x15
[ 0.622511] [] _stext+0x3d/0x129
[ 0.622511] [] ? init_kgdbts+0x0/0x15
[ 0.622511] [] ? register_irq_proc+0x9c/0xb5
[ 0.622511] [] ? init_irq_proc+0x28/0x33
[ 0.622511] [] kernel_init+0xf9/0x147
[ 0.622511] [] ? kernel_init+0x0/0x147
[ 0.622511] [] kernel_thread_helper+0x7/0x10
[ 0.622511] =======================
[ 0.622511] ---[ end trace 1534190084874a32 ]---

If anybody has any ideas on how
I can use this debugger it would be appreciated.

regards;


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