* Kernel debug about Linux for PowerPC
@ 2000-03-07 3:35 Shuangjun Zhu
2000-03-07 10:04 ` Momchil Velikov
0 siblings, 1 reply; 5+ messages in thread
From: Shuangjun Zhu @ 2000-03-07 3:35 UTC (permalink / raw)
To: Alan Cox; +Cc: linuxppc-dev, linux-kernel
Hello,
I want to use the gdb to debug the kernel version 2.2.13 for my MPC860
board.
So I set the compiler configuration parameter CONFIG_KGDB = YES,
but when I re-compile the kernel, it complains that
arch/ppc/kernel/kernel.o(.text+0x68ac): undefined reference to
`getDebugChar'
arch/ppc/kernel/kernel.o(.text+0x6934): undefined reference to
`putDebugChar'
PROBLEM:
what's wrong? I find no define for function "getDebugChar" in arch/ppc
directory.
Any suggestion is appreciated!
BRs,
Shuangjun
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Kernel debug about Linux for PowerPC
2000-03-07 3:35 Kernel debug about Linux for PowerPC Shuangjun Zhu
@ 2000-03-07 10:04 ` Momchil Velikov
2000-03-07 15:24 ` Dan Malek
0 siblings, 1 reply; 5+ messages in thread
From: Momchil Velikov @ 2000-03-07 10:04 UTC (permalink / raw)
To: Shuangjun Zhu; +Cc: Alan Cox, linuxppc-dev, linux-kernel
Shuangjun Zhu wrote:
>
> Hello,
>
> I want to use the gdb to debug the kernel version 2.2.13 for my MPC860
> board.
> So I set the compiler configuration parameter CONFIG_KGDB = YES,
> but when I re-compile the kernel, it complains that
>
> arch/ppc/kernel/kernel.o(.text+0x68ac): undefined reference to
> `getDebugChar'
> arch/ppc/kernel/kernel.o(.text+0x6934): undefined reference to
> `putDebugChar'
>
> PROBLEM:
> what's wrong? I find no define for function "getDebugChar" in arch/ppc
> directory.
You have to write these functions yourself. The stub uses them to
communicate with the debugger through whatever device is available on
the board. See 'Targets' -> 'Remote' -> 'Remote Serial' in GDB docs.
Regards,
-velco
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Kernel debug about Linux for PowerPC
2000-03-07 10:04 ` Momchil Velikov
@ 2000-03-07 15:24 ` Dan Malek
2000-03-07 16:45 ` Momchil Velikov
0 siblings, 1 reply; 5+ messages in thread
From: Dan Malek @ 2000-03-07 15:24 UTC (permalink / raw)
To: Momchil Velikov; +Cc: Shuangjun Zhu, Alan Cox, linuxppc-dev
Momchil Velikov wrote:
> You have to write these functions yourself.
No, you don't. Just download the kernel sources for
linuxplanet-2.2.13 from MontaVista (ftp.mvista.com).
It has the kgdb support.
-- Dan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Kernel debug about Linux for PowerPC
2000-03-07 15:24 ` Dan Malek
@ 2000-03-07 16:45 ` Momchil Velikov
0 siblings, 0 replies; 5+ messages in thread
From: Momchil Velikov @ 2000-03-07 16:45 UTC (permalink / raw)
To: Dan Malek; +Cc: Shuangjun Zhu, linuxppc-dev
Dan Malek wrote:
>
> Momchil Velikov wrote:
>
> > You have to write these functions yourself.
>
> No, you don't. Just download the kernel sources for
> linuxplanet-2.2.13 from MontaVista (ftp.mvista.com).
> It has the kgdb support.
Yep, you don't have to, iff some kind soul has already written
these for your particular device on your particular board ;-)
Regards,
-velco
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Kernel debug about Linux for PowerPC
@ 2000-03-08 3:14 Shuangjun Zhu
0 siblings, 0 replies; 5+ messages in thread
From: Shuangjun Zhu @ 2000-03-08 3:14 UTC (permalink / raw)
To: Dan Malek, Momchil Velikov; +Cc: Alan Cox, linuxppc-dev
Hello, everyone
I could not find linuxplanet-2.2.13 from ftp.mvista.com.
Does anyone know where can I get it?
Thanks in advanced!
Shuangjun
>
>Momchil Velikov wrote:
>
>> You have to write these functions yourself.
>
>No, you don't. Just download the kernel sources for
>linuxplanet-2.2.13 from MontaVista (ftp.mvista.com).
>It has the kgdb support.
>
>
> -- Dan
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-03-08 3:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-07 3:35 Kernel debug about Linux for PowerPC Shuangjun Zhu
2000-03-07 10:04 ` Momchil Velikov
2000-03-07 15:24 ` Dan Malek
2000-03-07 16:45 ` Momchil Velikov
-- strict thread matches above, loose matches on Subject: below --
2000-03-08 3:14 Shuangjun Zhu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).