Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2006 01:58:21 +0200
From:      =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V.Haisman@sh.cvut.cz>
To:        Divacky Roman <xdivac02@stud.fit.vutbr.cz>
Cc:        hackers@freebsd.org
Subject:   Re: linux gdb doesnt work at all, fbsd one with problems
Message-ID:  <44B9811D.4050609@sh.cvut.cz>
In-Reply-To: <20060715140102.GA75503@stud.fit.vutbr.cz>
References:  <20060715140102.GA75503@stud.fit.vutbr.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44B9811D.4050609>