All of lore.kernel.org
 help / color / mirror / Atom feed
* KGDB question
@ 2005-03-17 20:06 Abhinkar, Sameer
  2005-03-17 21:54 ` Andrew Morton
  0 siblings, 1 reply; 7+ messages in thread
From: Abhinkar, Sameer @ 2005-03-17 20:06 UTC (permalink / raw)
  To: linux-kernel

Hi there!
 
I am very new to Linux kernel and if this is a question which is not for
this mailing list, please let me know.
 
I am trying to debug the kernel 2.6.11.2 with KGDB. I was able to
successfully debug linux kernel 2.6.7 on two machines (a P3, running as
a development machine, and the other is a dual Xeon 32-bit running as a
test machine) but I'm not able to configure 2.6.11.2 to enable KGDB.
There are no options available to enable KGDB (as opposed to 2.6.7) when
I run 'make menuconfig'. The kgdb.sourceforge.net site has kgdb patch
for 2.6.7 and not for later versions. Are there any patches or hooks
available to enable KGDB for linux-2.6.11.2? 
 
I would really appreciate if someone could guide on the above query?
 
Thanks for your help,
 
Sameer

^ permalink raw reply	[flat|nested] 7+ messages in thread
* KGDB Question
@ 2008-11-06  5:40 Jason Hanna
  0 siblings, 0 replies; 7+ messages in thread
From: Jason Hanna @ 2008-11-06  5:40 UTC (permalink / raw)
  To: linuxppc-dev

Hi All,

Sorry for the newb questions, but I'm trying to setup KGDB for my
embedded development environment and I'm slightly confused.

Compiling a 2.6.27.3 kernel for a Kilauea (PowerPC 405EX) development
board. U-boot 1.3.2 on target and ELDK 4.2 cross-tools on Debian
(Lenny) host. Everything works fine w/regard to cross-compiling,
booting, etc.

Now trying to configure KGDB so I can do some kernel/driver coding and
debugging. Have enabled KGDB and DEBUG_INFO config options and
re-compiled my target kernel. Here's where I start to get confused:

1.) When configuring the kernel should I be seeing I/O driver options
for serial or ethernet ports? I don't. Looking at some older examples
online it seems there were options for selecting a serial port or
ethernet during kernel config. Reading the KGDB DocBook (Ch 2) leads
me to believe I should see some I/O driver options.

2.) Tried setting "kgdboc=ttyS0,115200" and "kgdbwait" (in that order)
as boot args in U-Boot. Boot begins and pauses after kernel and device
tree are loaded. Attempting to run "target remote /dev/ttyS0" on my
host and getting: Ignoring packet error, continuing...(3 times) and
Malformed response to offset query, timeout. Pretty sure I've got
everything connected correctly, but back to item #1 not sure I'm
missing an I/O driver or have some other issue?

3.) What is the status of KGDB in the 2.6.27 tree? It seems to have
been added to the kernel in previous versions, but I can't tell if
it's complete and working properly for my architecture. Should I be
attempting to use the patch from the KGDB sourceforge project?

Thanks,
-jmh

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-11-06  5:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-17 20:06 KGDB question Abhinkar, Sameer
2005-03-17 21:54 ` Andrew Morton
2005-03-17 22:09   ` Jesse Barnes
2005-03-17 22:29     ` Andrew Morton
2005-03-17 22:55       ` Matt Mackall
2005-03-22 16:46       ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2008-11-06  5:40 KGDB Question Jason Hanna

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.