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

[-- Attachment #1 --]
Divacky Roman wrote, On 15.7.2006 16:01:
> 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
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


[-- Attachment #2 --]
-----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-----

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