linux gdb doesnt work at all, fbsd one with problems

Václav Haisman V.Haisman at
Sat Jul 15 23:58:41 UTC 2006

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
> ----------------------
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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 542 bytes
Desc: OpenPGP digital signature
Url :

More information about the freebsd-hackers mailing list