From owner-freebsd-stable@FreeBSD.ORG Thu Feb 28 22:56:34 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6B44106566C for ; Thu, 28 Feb 2008 22:56:34 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by mx1.freebsd.org (Postfix) with ESMTP id 3F3518FC21 for ; Thu, 28 Feb 2008 22:56:34 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so2395807nfb.33 for ; Thu, 28 Feb 2008 14:56:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=crKDk0XTlYx8OElo0F8cykh//oSGrJ0g0y6tVeft5vA=; b=s1jfo8m6duob1DWRver3aS1094TmB69PSt5toksDI0m6o5cKQkDPj9BNNbHEj5ihTqdww7BZ5IxWnTptsUG/9PVUnKEgKultWyl2BFHQfNqtW0uGGy0BWsNLUpPpT5NTUlypdx8eu2fnz5O37be84KnTgtj64XylUU2FBjfJAww= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=lVmzUmuijlDkSukW/TeYIapdyq4S5qcK/di/YXxrp7/WJv3PalAIuakadLb96ytFRJYiV9INtMOf/0uHmgEzgQFn4gHPgDYwvInmzJlKS7MIbL6oFD1xqIstmDCkWf4J/Bj18K9mYm3I7rZU08XEOhevL4JvoJTtkuqm3ds8Q6E= Received: by 10.78.106.3 with SMTP id e3mr9481520huc.51.1204239392696; Thu, 28 Feb 2008 14:56:32 -0800 (PST) Received: by 10.78.46.11 with HTTP; Thu, 28 Feb 2008 14:56:32 -0800 (PST) Message-ID: Date: Fri, 29 Feb 2008 01:56:32 +0300 From: pluknet To: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [kgdb] There is no member named pathname X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 22:56:34 -0000 Hello, I've updated to the recent RELENG_7 as of 2008/02/28 to try the new kld-add feature in kgdb, among other things (yes, i do debug kernel modules). However, now I get an error message; also I'm unable to use the add-kld command. For example: # kgdb -q /boot/kernel/kernel /dev/mem [GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"] There is no member named pathname. ^^^^ (kgdb) add-kld whatever Undefined command: "add-kld". Try "help". I tried to add missing .symbols data as I did before and as described in developer's handbook, but that doesn't work anymore. [to be honest, I only tried it once, and I hope I didn't mix up the numbers in addresses. It's hard to do, though] $FreeBSD: src/gnu/usr.bin/gdb/kgdb/kld.c,v 1.6.2.1 2008/02/25 22:19:56 jhb Exp $ wbr, pluknet