From owner-freebsd-hackers Tue Nov 20 10:27:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from h132-197-97-45.gte.com (h132-197-179-27.gte.com [132.197.179.27]) by hub.freebsd.org (Postfix) with ESMTP id E5AFA37B405 for ; Tue, 20 Nov 2001 10:27:23 -0800 (PST) Received: (from ak03@localhost) by h132-197-97-45.gte.com (8.11.6/8.11.4) id fAKIQpA89350; Tue, 20 Nov 2001 13:26:51 -0500 (EST) (envelope-from ak03) Message-ID: X-Mailer: XFMail 1.5.1 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200111201718.MAA07992@uni02mr.unity.ncsu.edu> Date: Tue, 20 Nov 2001 13:26:51 -0500 (EST) Organization: Verizon Laboratories Inc. From: "Alexander N. Kabaev" To: ahdaswan@unity.ncsu.edu Subject: RE: Related to remote debugging using gdb Cc: freebsd-hackers@FreeBSD.ORG Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Are you sure you have the serial port configured identically on both ends? Does tip work correctly between nodes? What OS is running is your host mashine? FreeBSD has a very nice nmdm virtual serial port driver, which allows VMWare guests to communicate with host and presumably with each other without the need of serial cable, so if your host OS is FreeBSD, you might want to take advantage of that :). /usr/src/sys/modules/vinum/.gdbinit* files make excellent starting point for someone wanting to gebug FreeBSD kernel remotely. You might want to check them out. Please make sure that you have run set remotebaud command in gdb with the baud speed matching the value with which your port has been configured (it should match option CONSPEED value in your kernel config file). I was getting exactly the same errors until I figured out what was going wrong. Greg Lehey's .gdbinit files, modified appropriately, will take care of that for you. I am not sure remote debugging is possible between Linux and FreeBSD though. I only have experience using two FreeBSD boxes or FreeBSD host/FreeBSD guest pair under VMWare. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message