Hi All,

Any one tried to debug the taget(ARCH=powerpc) using kgdboc.

I tried following steps:

1. Configure and compile the kernel for target machine.
    > make menuconfig
        *Under kernel Hacking:
         - enable KGDB and  KGDB over serial console
                  CONFIG_KGDB=y
                  CONFIG_KGDB_SERIAL_CONSOLE=y
         - enable the magic SysRq key
         - enable  "Compile the kernel with debug info"

2. Configure target
   * Enable Magic SysRq key on target
        - Edit /etc/sysctl.conf and set kernel.sysrql =1

 3. Start debugging
      a) On Taget
           - Set the bootloader parameter as *kgdboc*=ttyS0,9600
           - Boot the Image
      b) On Host side
         (gdb) <arch>-gdb ./vmlinux
         (gdb) set remotebaud 9600

      c) After Booting on Target
          - echo "g" > /proc/sysrq-trigger
          -
An attempt to run "target remote /dev/ttyS0" on my
host and getting: Ignoring packet error, continuing...
Malformed response to offset query, timeout.

Please help me out with your suggestions.

Thanks and Regards
Purushothama.S
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Kgdb-bugreport mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kgdb-bugreport

Reply via email to