Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jul 2006 16:01:02 +0200
From:      Divacky Roman <xdivac02@stud.fit.vutbr.cz>
To:        hackers@freebsd.org
Subject:   linux gdb doesnt work at all, fbsd one with problems
Message-ID:  <20060715140102.GA75503@stud.fit.vutbr.cz>

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



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