Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jul 2005 11:04:25 +0200
From:      Divacky Roman <xdivac02@stud.fit.vutbr.cz>
To:        current@freebsd.org
Subject:   gdb problem when attaching to processes
Message-ID:  <20050727090425.GA82240@stud.fit.vutbr.cz>

next in thread | raw e-mail | index | archive | help

hi,

I have strange problem with gdb:

queeg500 src# ps ax | grep inet
 1971  ??  Is     0:00.01 /usr/sbin/inetd -wW -C 60
 2058  p0  R+     0:00.00 grep --color inet

rc# 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 1971
Attaching to process 1971
/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) y

/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.
Create a core file of GDB? (y or n) n


is it my fault or gdb's? I see this on 5.4R and 7-c... ie. pretty everywhere


roman



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