From owner-freebsd-stable@FreeBSD.ORG Tue Mar 1 21:06:34 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F303A16A4CE for ; Tue, 1 Mar 2005 21:06:33 +0000 (GMT) Received: from wrzx35.rz.uni-wuerzburg.de (wrzx35.rz.uni-wuerzburg.de [132.187.3.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AA6D43D49 for ; Tue, 1 Mar 2005 21:06:33 +0000 (GMT) (envelope-from q@uni.de) Received: from wrzx30.rz.uni-wuerzburg.de (wrzx30.rz.uni-wuerzburg.de [132.187.1.30]) by wrzx35.rz.uni-wuerzburg.de (Postfix) with ESMTP id 2F553E0DAD for ; Tue, 1 Mar 2005 22:06:32 +0100 (CET) Received: from virusscan (localhost [127.0.0.1]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id 1578F9D2BB for ; Tue, 1 Mar 2005 22:06:32 +0100 (CET) Received: from wrzx28.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by wrzx30.rz.uni-wuerzburg.de (Postfix) with ESMTP id F23C49D251 for ; Tue, 1 Mar 2005 22:06:31 +0100 (CET) Received: from coyote.q.local (wwsx14.win-screen.uni-wuerzburg.de [132.187.253.14]) by wrzx28.rz.uni-wuerzburg.de (Postfix) with ESMTP id 8C13ED7FD9 for ; Tue, 1 Mar 2005 22:06:31 +0100 (CET) Received: from roadrunner.q.local (roadrunner.q.local [192.168.0.148]) by coyote.q.local (8.13.1/8.13.1) with ESMTP id j21L6VaC085947 for ; Tue, 1 Mar 2005 22:06:31 +0100 (CET) (envelope-from q@uni.de) Received: from roadrunner.q.local (localhost [127.0.0.1]) by roadrunner.q.local (8.13.1/8.13.1) with ESMTP id j21L6VqJ041400 for ; Tue, 1 Mar 2005 22:06:31 +0100 (CET) (envelope-from q@uni.de) Received: (from q@localhost) by roadrunner.q.local (8.13.1/8.13.1/Submit) id j21L6UTI041399 for stable@freebsd.org; Tue, 1 Mar 2005 22:06:30 +0100 (CET) (envelope-from q@uni.de) Date: Tue, 1 Mar 2005 22:06:30 +0100 From: Ulrich Spoerlein To: stable@freebsd.org Message-ID: <20050301210630.GB818@galgenberg.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.8i X-Virus-Scanned: by amavisd-new (Rechenzentrum Universitaet Wuerzburg) Subject: gdb missing add-shared-symbol-files. why? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 21:06:34 -0000 Hi, played with dmalloc and the docu says to do the following in gdb: (gdb) sharedlibrary (gdb) add-shared-symbol-files This command is not available in this configuration of GDB. (gdb) break dmalloc_error Why is this command not available? The code in question is at /usr/src/contrib/gdb/gdb/symfile.c:1760 static void add_shared_symbol_files_command (char *args, int from_tty) { #ifdef ADD_SHARED_SYMBOL_FILES ADD_SHARED_SYMBOL_FILES (args, from_tty); #else error ("This command is not available in this configuration of GDB."); #endif } I grepped the whole src-tree for ADD_SHARED_SYMBOL_FILES. No luck. What's up? (Note, devel/gdb6 has the same "problem"). Ulrich Spoerlein -- PGP Key ID: F0DB9F44 Encrypted mail welcome! Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44 Ok, which part of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn." didn't you understand?