Hi all,<br><br>I am using KGDB on powerpc-440. This is tested on<b> Linux-2.6.27</b>, the following arguments to KGDB showing init_delay of 8250 as shown below:<br><br>Target Side :<br><br>-----------------------------<br>
<br>Linux/PowerPC load: console=ttyS0 ip=bootp root=/dev/nfs rw kgdb8250=ttyS0,9600 kgdbwait<br>Finalizing device tree... flat tree at 0x5ad300 <br><b style="color: rgb(255, 0, 0);">kgdb8250: ttyS0 init delayed, use io/mmio/mbase syntax for early init. </b><br>
.....<br>.....<br>.......<br>......<br>......<br>.......<br>......<br>console [ttyS0] enabled<br>kgdb: Registered I/O driver kgdb8250.<br><br>Stops here -> <br clear="all">-------------------------------<br><br>Host Side:<br>
<br>(gdb) target remote /dev/ttyS0 <br>Remote debugging using /dev/ttyS0 <br>0xc01a760c in mem_serial_in (p=0xc036e050, offset=<value optimized out>) <br>
at /opt/XILINX-MVL6/SUNDAY-March-28/linux-2.6.29/arch/powerpc/include/asm/io.h:153 <br>153 DEF_MMIO_IN_BE(in_8, 8, lbz); <br> <br>(gdb) info threads <br>
14 Thread 109 (nfsiod) __switch_to (prev=<value optimized out>, new=0xcf8227f0) at arch/powerpc/kernel/process.c:412<br> 13 Thread 108 (aio/0) __switch_to (prev=<value optimized out>, new=0xcf8227f0) at arch/powerpc/kernel/process.c:412 <br>
12 Thread 107 (kswapd0) __switch_to (prev=<value optimized out>, new=0xcf8227f0) at arch/powerpc/kernel/process.c:412<br> 11 Thread 106 (pdflush) __switch_to (prev=<value optimized out>, new=0xcf8227f0) at arch/powerpc/kernel/process.c:412<br>
10 Thread 105 (pdflush) __switch_to (prev=<value optimized out>, new=0xcf8227f0) at arch/powerpc/kernel/process.c:412<br><br><br>********************<br>But when I say Continue -> <Got the Error as below ><br>
<br>(gdb) c <br>Continuing. <br><b style="color: rgb(204, 0, 0);">warning: Remote failure reply: E22 </b><span style="color: rgb(204, 0, 0);"> </span><br>
<br>------------------------<br><br>Can anybody correct me, where I am going wrong. I am not able to hit KGDB breakpoint. ?<br><br><br>-- <br><br>Regards<br>Srikanth Krishnakar<br>**********************<br>