From owner-freebsd-hackers Wed Jun 6 8:38:31 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from alacran.it.uc3m.es (alacran.it.uc3m.es [163.117.139.44]) by hub.freebsd.org (Postfix) with ESMTP id 3A84C37B401 for ; Wed, 6 Jun 2001 08:38:22 -0700 (PDT) (envelope-from jrh@it.uc3m.es) Received: from it.uc3m.es (localhost [127.0.0.1]) by alacran.it.uc3m.es (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f56FdKR01056 for ; Wed, 6 Jun 2001 17:39:20 +0200 X-Authentication-Warning: alacran.it.uc3m.es: Host localhost [127.0.0.1] claimed to be it.uc3m.es Message-ID: <3B1E4EA5.528E5D59@it.uc3m.es> Date: Wed, 06 Jun 2001 17:39:17 +0200 From: Juan Fco Rodriguez Hervella X-Mailer: Mozilla 4.74 [es] (X11; U; Linux 2.4.3 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.unix.bsd.freebsd.misc Cc: Lista Subject: On-Line Kernel Debugging Using Remote GDB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hi: I am trying to debug a kernel using the steps specified in the Handbook. I follow the steps to compile the kernel, reboot with -d option, and in the other machine, I run gdb -k kernel and so... I have both machines joined with a serial null-modem cable, but when I try: (kgdb) target remote /dev/cuaa0 Remote debugging using /dev/cuaa0 Ignoring packet error, continuing... Ignoring packet error, continuing... Ignoring packet error, continuing... Couldn't establish connection to remote target Malformed response to offset query, timeout (kgdb) I am newbie with this topics, I don know where is the problem. How can I test the communication? Do I have to change some specs of device /dev/cuaa0 to communicate with the target box ? Any suggestion will be very appreciated. -- ********************************* Juan F. Rodriguez Hervella Universidad Carlos III de Madrid ******************************** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message