From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 15 14:01:10 2006 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 716B216A4DE for ; Sat, 15 Jul 2006 14:01:10 +0000 (UTC) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (eva.fit.vutbr.cz [147.229.10.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5E0143D45 for ; Sat, 15 Jul 2006 14:01:08 +0000 (GMT) (envelope-from xdivac02@stud.fit.vutbr.cz) Received: from eva.fit.vutbr.cz (localhost [127.0.0.1]) by eva.fit.vutbr.cz (envelope-from xdivac02@eva.fit.vutbr.cz) (8.13.7/8.13.7) with ESMTP id k6FE13V2075645 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Sat, 15 Jul 2006 16:01:03 +0200 (CEST) Received: (from xdivac02@localhost) by eva.fit.vutbr.cz (8.13.7/8.13.3/Submit) id k6FE12HW075644 for hackers@freebsd.org; Sat, 15 Jul 2006 16:01:02 +0200 (CEST) Date: Sat, 15 Jul 2006 16:01:02 +0200 From: Divacky Roman To: hackers@freebsd.org Message-ID: <20060715140102.GA75503@stud.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-Scanned-By: MIMEDefang 2.54 on 147.229.10.14 Cc: Subject: linux gdb doesnt work at all, fbsd one with problems 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: Sat, 15 Jul 2006 14:01:10 -0000 hi linux gdb doesnt work at all with internal error (some assert condition doesnt hold), this is manifested by simple: gdb /bin/ls run (sorry cant paste the output now because currently linuxolator panics for me on every load :)) fbsd gdb is not able to attach to a running process: witten ~# cat & [1] 969 witten ~# gdb GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd". (gdb) attach 969 Attaching to process 969 /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443: internal-error: legacy_fetch_link_map_offsets called without legacy link_map support enabled. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) is there anyone with a GDB fu who can tell me if its gdb's fault, fbsd's fault or my fault? thnx roman ---------------------- www.liberalnistrana.cz