* KGDB on BookE
@ 2005-06-13 13:45 Prosun Niyogi
2005-06-13 16:40 ` Geoff Levand
0 siblings, 1 reply; 2+ messages in thread
From: Prosun Niyogi @ 2005-06-13 13:45 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 1107 bytes --]
I've grabbed latest kernel.org kernel (2.6.11.11) to attempt to get a
working kgdb on my ebony setup. Checking the mailing list archives, it
seems as if all the 4xx specific kgdb patches have been merged with
kernel.org. Is this the case? If so, I have a problem single stepping
using kgdb. The debugger_sstep(regs) function is never called from
traps.c. So, as of right now.. I can only set/hit an arbitrary breakpoint
(for my testing, I've been setting a breakpoint at sys_sync). After
setting the breakpoint and continuing from the initial kgdb entry point,
gdb successfully catches the breakpoint at sys_sync, but when I attempt to
step, the kernel continues normal operation, and subsequent attempts at
breaking into gdb control by issuing a "sync" command on the ebony
terminal in minicom do not hit the breakpoint. Any pointers/suggestions as
to where I can obtain a working kgdb-enabled kernel for the ebony board?
Any assistance would be helpful.
Thanks.
Prosun Niyogi
Software Engineer
Linux Technology Center
Phone:(512)838-8364 (TL 678-8364)
Fax:(512)838-4663
pniyogi@us.ibm.com
[-- Attachment #2: Type: text/html, Size: 1259 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: KGDB on BookE
2005-06-13 13:45 KGDB on BookE Prosun Niyogi
@ 2005-06-13 16:40 ` Geoff Levand
0 siblings, 0 replies; 2+ messages in thread
From: Geoff Levand @ 2005-06-13 16:40 UTC (permalink / raw)
To: Prosun Niyogi; +Cc: linuxppc-embedded
Prosun Niyogi wrote:
>
> I've grabbed latest kernel.org kernel (2.6.11.11) to attempt to get a
> working kgdb on my ebony setup. Checking the mailing list archives, it
> seems as if all the 4xx specific kgdb patches have been merged with
> kernel.org. Is this the case? If so, I have a problem single stepping
> using kgdb. The debugger_sstep(regs) function is never called from
> traps.c. So, as of right now.. I can only set/hit an arbitrary
> breakpoint (for my testing, I've been setting a breakpoint at sys_sync).
> After setting the breakpoint and continuing from the initial kgdb entry
> point, gdb successfully catches the breakpoint at sys_sync, but when I
> attempt to step, the kernel continues normal operation, and subsequent
> attempts at breaking into gdb control by issuing a "sync" command on the
> ebony terminal in minicom do not hit the breakpoint. Any
> pointers/suggestions as to where I can obtain a working kgdb-enabled
> kernel for the ebony board? Any assistance would be helpful.
>
Apply the patches in CVS from http://sourceforge.net/projects/kgdb
This works with 2.6.11.11 and Ebony with both serial and Ether connections,
but I found the kernel hangs with CONFIG_PREEMPT=y.
-Geoff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-06-13 16:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-13 13:45 KGDB on BookE Prosun Niyogi
2005-06-13 16:40 ` Geoff Levand
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).