From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 31 03:33:01 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EC1537B401 for ; Mon, 31 Mar 2003 03:33:01 -0800 (PST) Received: from hotmail.com (f121.law14.hotmail.com [64.4.21.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06F2243FA3 for ; Mon, 31 Mar 2003 03:33:01 -0800 (PST) (envelope-from meetmanya@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 31 Mar 2003 03:32:57 -0800 Received: from 202.54.40.210 by lw14fd.law14.hotmail.msn.com with HTTP; Mon, 31 Mar 2003 11:32:57 GMT X-Originating-IP: [202.54.40.210] X-Originating-Email: [meetmanya@hotmail.com] From: "Manish Sapariya" To: freebsd-hackers@freebsd.org Date: Mon, 31 Mar 2003 17:02:57 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 31 Mar 2003 11:32:57.0658 (UTC) FILETIME=[472621A0:01C2F779] Subject: Debugging FreeBSD 4.7 using gdb remote machine X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2003 11:33:02 -0000 Hi all, I am trying to debug the FreeBSD 4.7 kernel using gdb remote debugging. However I am not able to do it properly. The kernel breaks in properly when I run "target remote /dev/cuaa1" command on my developement machine. However when I try to "step, next, continue" in the code it simply hangs, Or if I execute command to view backtrace, it doesnot show the complete stack and many of the entries are garbled giving the messages about "Ignoring packet error, continuing... " and "Reply contains invalid hex digits 116". Only once I was ablt to debug successfully. In my VMWARE setup also I can do the debugging without any problem. I even faced the same problem with different set of machines. Is there anything that I am missing in configuration or gdb stuff, or cabling problem? (I tested with kermit that the serial connection setup and is working fine, or it seems to be ;-() Any clues will be of great help. Thanks ans Regards, Manish _________________________________________________________________ Catch the Oscar fever. See winners & losers. http://server1.msn.co.in/MSNSpecials/oscar2003/index.asp Right here