linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* KGDB8250 on PowerPC-440 does not hit KGDB breakpoint
@ 2009-03-28 11:27 srikanth krishnakar
  0 siblings, 0 replies; only message in thread
From: srikanth krishnakar @ 2009-03-28 11:27 UTC (permalink / raw)
  To: Linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]

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/XILINX-MVL6/SUNDAY-March-28/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
**********************

[-- Attachment #2: Type: text/html, Size: 2549 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-28 11:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-28 11:27 KGDB8250 on PowerPC-440 does not hit KGDB breakpoint srikanth krishnakar

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).