linux gdb doesnt work at all, fbsd one with problems

Divacky Roman xdivac02 at
Sat Jul 15 14:01:10 UTC 2006


linux gdb doesnt work at all with internal error (some assert condition doesnt
hold), this is manifested by simple:

	gdb /bin/ls

(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
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?




More information about the freebsd-hackers mailing list