Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2004 15:14:38 -0700
From:      Mike Hunter <mhunter@ack.Berkeley.EDU>
To:        freebsd-hackers@freebsd.org
Subject:   gdb attach on 5.3-beta5?
Message-ID:  <20040921221438.GA28757@ack.Berkeley.EDU>

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

I am having problems with gdb attach.  I wrote a demo script that just
prints out it's pid over and over, then tried to sick gdb on it:

#gdb6 program 29353
GNU gdb 20040720 [GDB v6.x for 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-portbld-freebsd5.2"...program: No such
file or directory.

Attaching to process 29353
solib-svr4.c:1307: 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

solib-svr4.c:1307: 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

The program itself appears to get KILL, aka it says "Killed".

Same results for gdb and gdb6.  Is this a known issue?

Help will likely enable me to post a question about why my X server is
crashing :)

Thanks,

Mike



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