From owner-freebsd-questions@FreeBSD.ORG Tue May 20 05:03:59 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 143A81065675 for ; Tue, 20 May 2008 05:03:59 +0000 (UTC) (envelope-from daryl@ci.com.au) Received: from mippet.ci.com.au (mippet.ci.com.au [192.65.182.30]) by mx1.freebsd.org (Postfix) with ESMTP id B2E118FC17 for ; Tue, 20 May 2008 05:03:58 +0000 (UTC) (envelope-from daryl@ci.com.au) Received: from mippet.ci.com.au (localhost [127.0.0.1]) by mippet.ci.com.au (8.14.2/8.14.2/CE070809/cml) with ESMTP id m4K4dTrE026665 for ; Tue, 20 May 2008 14:39:29 +1000 (EST) (envelope-from daryl@mippet.ci.com.au) Received: (from daryl@localhost) by mippet.ci.com.au (8.14.2/8.14.2/Submit) id m4K4dTYQ026662; Tue, 20 May 2008 14:39:29 +1000 (EST) (envelope-from daryl) Date: Tue, 20 May 2008 14:39:29 +1000 (EST) From: Daryl Sayers Message-Id: <200805200439.m4K4dTYQ026662@mippet.ci.com.au> To: freebsd-questions@freebsd.org X-Scanned-By: MIMEDefang 2.63 on 192.65.182.30 Subject: attach not working in gdb X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 05:03:59 -0000 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