From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 3 07:34:46 2007 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C8D616A417; Mon, 3 Sep 2007 07:34:46 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp4.yandex.ru (smtp4.yandex.ru [213.180.223.136]) by mx1.freebsd.org (Postfix) with ESMTP id 86E2913C428; Mon, 3 Sep 2007 07:34:45 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:51396 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S737284AbXICHdl (ORCPT + 1 other); Mon, 3 Sep 2007 11:33:41 +0400 X-Comment: RFC 2476 MSA function at smtp4.yandex.ru logged sender identity as: bu7cher Message-ID: <46DBB8D3.8020702@yandex.ru> Date: Mon, 03 Sep 2007 11:33:39 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Greg 'groggy' Lehey References: <46DBB0AE.90106@yandex.ru> <20070903070952.GB32893@dereel.lemis.com> In-Reply-To: <20070903070952.GB32893@dereel.lemis.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Remote GDB howto X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Sep 2007 07:34:46 -0000 Greg 'groggy' Lehey wrote: > You're a bit sketchy on the details that I've omitted here. What > happens between these two lines? > >> (kgdb) target remote /dev/cuad0 Remote debugging using /dev/cuad0 0x00000000 in ?? () >> (kgdb) add-symbol-file /path/to/local/copy/of/file > > You should have some communication with the remote machine between > these two lines. > > Have you followed my tutorial? > http://www.lemis.com/grog/Papers/Debug-tutorial/ Yes, this is my primary manual. -- WBR, Andrey V. Elsukov