From owner-freebsd-hackers@FreeBSD.ORG Mon Sep 3 07:41:30 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 1164E16A419; Mon, 3 Sep 2007 07:41:30 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp3.yandex.ru (smtp3.yandex.ru [213.180.200.14]) by mx1.freebsd.org (Postfix) with ESMTP id 08BCB13C45E; Mon, 3 Sep 2007 07:41:28 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:46819 "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 S4747889AbXICHlD (ORCPT + 1 other); Mon, 3 Sep 2007 11:41:03 +0400 X-Comment: RFC 2476 MSA function at smtp3.yandex.ru logged sender identity as: bu7cher Message-ID: <46DBBA8A.2050403@yandex.ru> Date: Mon, 03 Sep 2007 11:40:58 +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 [SOLVED] 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:41:30 -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 >> (kgdb) add-symbol-file /path/to/local/copy/of/file I've solved my problem. I run on the second machine: # kgdb -r /dev/cuad0 /path/to/copy/of/target/kernel.symbols Sorry. -- WBR, Andrey V. Elsukov