From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21712 invoked by alias); 13 Dec 2006 00:04:08 -0000 Received: (qmail 21697 invoked by uid 22791); 13 Dec 2006 00:04:07 -0000 X-Spam-Check-By: sourceware.org Received: from nz-out-0506.google.com (HELO nz-out-0102.google.com) (64.233.162.235) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 13 Dec 2006 00:04:02 +0000 Received: by nz-out-0102.google.com with SMTP id m7so4769nzf for ; Tue, 12 Dec 2006 16:04:00 -0800 (PST) Received: by 10.65.93.18 with SMTP id v18mr269486qbl.1165968240460; Tue, 12 Dec 2006 16:04:00 -0800 (PST) Received: by 10.65.233.7 with HTTP; Tue, 12 Dec 2006 16:04:00 -0800 (PST) Message-ID: <198592450612121604r51729070j2cf8c9c4ddd8d0eb@mail.gmail.com> Date: Wed, 13 Dec 2006 00:04:00 -0000 From: "Reeve Yang" To: gdb@sourceware.org Subject: kgdb help pls! MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-12/txt/msg00110.txt.bz2 I'm not sure if this is a correct mailing list for kgdb. If not could anyone point me to the correct list? I'm trying to use KGDB to debug kernel 2.6.14. I applied kgdb patch linux-2.6.13-kgdb-2.3 to it (no all but core-lite.patch, ppc-lite.patch, 8250.patch, cfi_annotations.patch and sysrq_bugfix.patch). My cpu is MPC8343E. After choosing kernel hacking options and compiling kernel, it just hangs and my gdb client cannot connect to it. Following are message from linux booting and GDB client, could anyone shed some lights on it? What could be the problem? Thanks! Message of linux booting: ## Booting image at ff300000 ... loaded at: FF300000 FFB71124 relocated to: 00800000 01071124 board data at: 007FFF70 007FFFF8 relocated to: 00805114 0080519C zimage at: 00805915 00926A5E initrd at: 00927000 0106E242 avail ram: 01072000 01472000 Linux/PPC load: mem=248M Uncompressing Linux...done. Now booting the kernel mpc834x_sys_init(): exit id mach(): done MMU:enter MMU:hw init MMU:mapin MMU:setio MMU:exit setup_arch: enter setup_arch: bootmem Message from GDB client: (gdb) target remote /dev/ttyS0 Remote debugging using /dev/ttyS0 Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Malformed response to offset query, timeout (gdb)