From: srikanth krishnakar <skrishnakar@gmail.com>
To: Linuxppc-dev@ozlabs.org
Subject: Re: KGDB8250 doesn't hit KGDB breakpoint in PowerPC-440
Date: Sat, 28 Mar 2009 21:00:23 +0530 [thread overview]
Message-ID: <6213bc560903280830o704164cfy59760993a2ce7650@mail.gmail.com> (raw)
In-Reply-To: <6213bc560903280810t73f821ceufb7711a70619d396@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2250 bytes --]
Hi,
The simple" config is deprecated , when the MMIO support was added
to the KGDB 8250 driver. I have to use the syntax:
kgdb8250=<io or mmio>,<address>,<baud rate>,<irq>
Thanks
Srikanth
On Sat, Mar 28, 2009 at 8:40 PM, srikanth krishnakar
<skrishnakar@gmail.com>wrote:
> Hi all,
>
> I am using KGDB on powerpc-440. This is tested on* Linux-2.6.27*, the
> following arguments to KGDB showing init_delay of 8250 as shown below:
>
> Target Side :
>
> -----------------------------
>
> Linux/PowerPC load: console=ttyS0 ip=bootp root=/dev/nfs rw
> kgdb8250=ttyS0,9600 kgdbwait
> Finalizing device tree... flat tree at 0x5ad300
>
> *kgdb8250: ttyS0 init delayed, use io/mmio/mbase syntax for early
> init. *
> .....
> .....
> .......
> ......
> ......
> .......
> ......
> console [ttyS0] enabled
> kgdb: Registered I/O driver kgdb8250.
>
> Stops here ->
> -------------------------------
>
> Host Side:
>
> (gdb) target remote
> /dev/ttyS0
> Remote debugging using
> /dev/ttyS0
> 0xc01a760c in mem_serial_in (p=0xc036e050, offset=<value optimized
> out>)
> at /opt/linux-2.6.29/arch/powerpc/include/asm/io.h:153
> 153 DEF_MMIO_IN_BE(in_8, 8, lbz);
>
> (gdb) info threads
> 14 Thread 109 (nfsiod) __switch_to (prev=<value optimized out>,
> new=0xcf8227f0) at arch/powerpc/kernel/process.c:412
> 13 Thread 108 (aio/0) __switch_to (prev=<value optimized out>,
> new=0xcf8227f0) at arch/powerpc/kernel/process.c:412
> 12 Thread 107 (kswapd0) __switch_to (prev=<value optimized out>,
> new=0xcf8227f0) at arch/powerpc/kernel/process.c:412
> 11 Thread 106 (pdflush) __switch_to (prev=<value optimized out>,
> new=0xcf8227f0) at arch/powerpc/kernel/process.c:412
> 10 Thread 105 (pdflush) __switch_to (prev=<value optimized out>,
> new=0xcf8227f0) at arch/powerpc/kernel/process.c:412
>
>
> ********************
> But when I say Continue -> <Got the Error as below >
>
> (gdb) c
> Continuing.
> *warning: Remote failure reply: E22 *
>
> ------------------------
>
> Can anybody correct me, where I am going wrong. I am not able to hit KGDB
> breakpoint. ?
>
>
>
> --
> Regards
> Srikanth Krishnakar
> **********************
>
--
"The Good You Do, The Best You GET"
Regards
Srikanth Krishnakar
**********************
[-- Attachment #2: Type: text/html, Size: 3350 bytes --]
prev parent reply other threads:[~2009-03-28 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-28 15:10 KGDB8250 doesn't hit KGDB breakpoint in PowerPC-440 srikanth krishnakar
2009-03-28 15:30 ` srikanth krishnakar [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6213bc560903280830o704164cfy59760993a2ce7650@mail.gmail.com \
--to=skrishnakar@gmail.com \
--cc=Linuxppc-dev@ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox