Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2008 14:39:29 +1000 (EST)
From:      Daryl Sayers <daryl@ci.com.au>
To:        freebsd-questions@freebsd.org
Subject:   attach not working in gdb 
Message-ID:  <200805200439.m4K4dTYQ026662@mippet.ci.com.au>

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

I am trying to use gdb on FreeBSD 7.0 but is does not seem to work using the
attach option. I know this all works with the FreeBSD 4.11 machines we still
have running. Is there a solution??

# ps -auxww | grep vi
daryl    22044  0.0  0.1  3408  1488  qb  S+    2:34PM   0:00.00 vi xxx
# gdb --quiet
(gdb) attach 22044
Attaching to process 22044
/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


-- 
Daryl Sayers                             Direct: +612 95525510
Corinthian Engineering                   Office: +612 95525500
Suite 54, Jones Bay Wharf                   Fax: +612 95525549
26-32 Pirrama Rd                          email: daryl@ci.com.au
Pyrmont NSW 2009 Australia                  www: http://www.ci.com.au



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