From owner-freebsd-hackers@FreeBSD.ORG Sat Jul 15 23:58:41 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 62CEF16A4DD for ; Sat, 15 Jul 2006 23:58:41 +0000 (UTC) (envelope-from V.Haisman@sh.cvut.cz) Received: from service.sh.cvut.cz (service.sh.cvut.cz [147.32.127.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A3AB43D45 for ; Sat, 15 Jul 2006 23:58:39 +0000 (GMT) (envelope-from V.Haisman@sh.cvut.cz) Received: from localhost (localhost [127.0.0.1]) by service.sh.cvut.cz (Postfix) with ESMTP id CD4DE1A32F7; Sun, 16 Jul 2006 01:58:38 +0200 (CEST) Received: from service.sh.cvut.cz ([127.0.0.1]) by localhost (service [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 32571-02; Sun, 16 Jul 2006 01:58:34 +0200 (CEST) Received: from logout.sh.cvut.cz (logout.sh.cvut.cz [147.32.127.203]) by service.sh.cvut.cz (Postfix) with ESMTP id 96A211A32EB; Sun, 16 Jul 2006 01:58:34 +0200 (CEST) Received: from [192.168.1.2] (localhost [127.0.0.1]) by logout.sh.cvut.cz (Postfix) with ESMTP id 1C38661C20; Sun, 16 Jul 2006 01:58:33 +0200 (CEST) Message-ID: <44B9811D.4050609@sh.cvut.cz> Date: Sun, 16 Jul 2006 01:58:21 +0200 From: =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: Divacky Roman References: <20060715140102.GA75503@stud.fit.vutbr.cz> In-Reply-To: <20060715140102.GA75503@stud.fit.vutbr.cz> X-Enigmail-Version: 0.94.0.0 OpenPGP: id=733031B4 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUnMzWJm5S+0864pn5r blp/hnW2up7X7uqftbNRVUrW1LGBdGfHwJqPi3ScoYtBQzhDxGEwAAAAB3RJTUUH1QoQDDgyQtx8 HQAAAkNJREFUeJzFU0toU0EUPYu66CpGdCUUmoUJkpUDQUoNBVEUrBJsq1Ki2EIKIUZ8mydBhYi0 wVUXJVCLCrFN4DIEQdxIqdBIFsMkWD9YJClCRGKjJaviynjfe8RPogtXPcObuXPOPXd+PHj+Aeyo QNmobGLXVeANGM+GsP0B2yqHHNVoCD2LwLglVGZx7yXSlADR0uZu9C4Bpy3hUxPvH/cuUw6UoPCL h64I8KAJuMpwRU8uUMJy0OIpHVeXmulZoCc/t0LlTbJLEY1EudPRcnVjgAP5Osdl4K5HVP4+2bAI okaUA0Iq6Q59+Zy2eMWN6EpFTsa3+uD1+JKj4TPHuYTSMaLScLAaqk94YJqG4ds30hojOVgYoNJc NTztNU2TBYbhu9Aafnq08ORja37da1NwBrN/b7NVEc+b8yecuYkp08vNvLYneVZRaSH1vS0UnfHm OUPzWaZufHPmCWSdWrfeGVQQKmcsO4If8pAdXJ/xF4QQAeOVY1AQQcfirwkLUWeWVTgi6vaGt2xe BGzBEIMQorru8RxgPqY1V6uxYnwVBRZEI1ytCm3dE8mC2DgcbzCJGHdBEVDKuWDSwsrSGoqzJmNt 2jJpNueIH0qS8/0JrDKnVBdvOzIsdVr4zaX9dn9xcLLKdCtQGfutVacLE9Ja+yfbDvO4aMWrklfK /JYv15C8Kw9S10kup5Bys0N1bLdcn4HvTl/Xlh6Fpllwj5/XpH9BUXn/ym0Dvv7Rt2MywojpYiSi i7Hsscaa19zZ//y/hR+BT/ns80nmJAAAAABJRU5ErkJggg== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8B46AF12C218139E3A98183D" X-Virus-Scanned: by amavisd-new at sh.cvut.cz X-Spam-Status: No, hits=-5.9 tagged_above=-255.0 required=5.0 tests=ALL_TRUSTED, BAYES_00 X-Spam-Level: Cc: hackers@freebsd.org Subject: Re: 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 23:58:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8B46AF12C218139E3A98183D Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Divacky Roman wrote, On 15.7.2006 16:01: > hi >=20 > linux gdb doesnt work at all with internal error (some assert condition= doesnt > hold), this is manifested by simple: >=20 > gdb /bin/ls > run >=20 > (sorry cant paste the output now because currently linuxolator panics f= or me > on every load :)) >=20 > fbsd gdb is not able to attach to a running process: >=20 > 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 yo= u are > welcome to change it and/or distribute copies of it under certain condi= tions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for deta= ils. > 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 lin= k_map > support enabled. > A problem internal to GDB has been detected, > further debugging may prove unreliable. > Quit this debugging session? (y or n) >=20 > is there anyone with a GDB fu who can tell me if its gdb's fault, fbsd'= s fault > or my fault? >=20 > thnx >=20 > roman >=20 > ---------------------- > www.liberalnistrana.cz GDB 6.1.1 is pretty ancient. I have had some problems with it dying on certain programmes, too. I didn't get any response on PRs that I filled, so I installed GDB 6.4 by hand and it works fine. So I suggest that, try newest GDB. -- VH --------------enig8B46AF12C218139E3A98183D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQEVAwUBRLmBKUNOZDESBK8FAQIU5wf/d0XsIAjgzvdgs8mpSCTxuec1Pi3/3w+A r7WrOvSUPFvZA3tzbEPdN7HFhtIgSfhQ70Q1XUajwfbxV1MJvB7oSYZGahcXPJ9V ejK//FZybekyaM7Ha+lsXVsCD7iCBoEa6/+mZAJrCjid5gbPrnpHtVlyL8KWUK0z Y7j42kcscq8IUnxRnfO8S4CUPBKgX21lBtWRlq2cqsrCPfhaj6iKtfSZi6TSTKPk sPCWv7RhFwUhF6Q8mDonhng47ywFMxuC5CtWJc6e137nRFsjFCoLlpW/9kX9kEti 9B6w7qUOMIaSjopl3ON8wgBUo4hwb3e9D1BksUOqDVZlyD97W4epTg== =+LNf -----END PGP SIGNATURE----- --------------enig8B46AF12C218139E3A98183D--