Re: Sequoia build with KDBG

4 messages, 4 authors, 2008-02-29 · open the first message on its own page

Re: Sequoia build with KDBG

From: Josh Boyer <hidden>
Date: 2008-02-29 21:37:34

On Fri, 29 Feb 2008 16:34:09 -0500
Steve Heflin [off-list ref] wrote:
I attempted to enable the kernel debugger on my Sequoia board, and I 
get build errors:
  /linux-2.6.25-rc3/arch/powerpc/kernel/setup_32.c:254: undefined 
reference to `set_debug_traps'
  /linux-2.6.25-rc3/arch/powerpc/kernel/setup_32.c:259: undefined 
reference to `breakpoint'

Josh: I assume you have used the kernel debugger with your 44x 
boards, how did you build it?
Why would you assume that?  I've never used kgdb on arch/powerpc
kernels, nor have I ever tried to build it.

I don't think kgdb is ported to powerpc at the moment.

josh

Re: Sequoia build with KDBG

From: Steve Heflin <hidden>
Date: 2008-02-29 22:30:45

At 04:35 PM 2/29/2008, Josh Boyer wrote:
On Fri, 29 Feb 2008 16:34:09 -0500
Steve Heflin [off-list ref] wrote:
quoted
I attempted to enable the kernel debugger on my Sequoia board, and I
get build errors:
  /linux-2.6.25-rc3/arch/powerpc/kernel/setup_32.c:254: undefined
reference to `set_debug_traps'
  /linux-2.6.25-rc3/arch/powerpc/kernel/setup_32.c:259: undefined
reference to `breakpoint'

Josh: I assume you have used the kernel debugger with your 44x
boards, how did you build it?
Why would you assume that?  I've never used kgdb on arch/powerpc
kernels, nor have I ever tried to build it.

I don't think kgdb is ported to powerpc at the moment.

josh
I assumed that because I've always needed a debugger when 
implementing kernel level components. Since you've implemented kernel 
level support for several 44x processors, I just assumed that you 
needed kdbg at some point. So you're saying that your additions 
worked right out of the gate and you never needed a debugger?  You're my hero!

Re: Sequoia build with KDBG

From: Scott Wood <hidden>
Date: 2008-02-29 22:58:21

Steve Heflin wrote:
I assumed that because I've always needed a debugger when 
implementing kernel level components. Since you've implemented kernel 
level support for several 44x processors, I just assumed that you 
needed kdbg at some point. So you're saying that your additions 
worked right out of the gate and you never needed a debugger?  You're my hero!
There are ways of debugging that don't involve a debugger.

-Scott

Re: Sequoia build with KDBG

From: Jon Loeliger <hidden>
Date: 2008-02-29 23:28:47

Scott Wood wrote:
There are ways of debugging that don't involve a debugger.
I suppose we could get all tautological and start claiming
that anything that helped one debug something might be, by
definition, a debugger. :-)

(de-)buggering off,
jdl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help