Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Dec 2016 22:08:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 213764] System gdb produces an error when attaching to files built with -g
Message-ID:  <bug-213764-8-UBrhdIc8uh@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213764-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213764-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213764

John Baldwin <jhb@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Rejected
                 CC|                            |jhb@FreeBSD.org
             Status|New                         |Closed

--- Comment #1 from John Baldwin <jhb@FreeBSD.org> ---
Please use gdb from ports.  GDB in the base is old and is not going to be
updated.

However, in this case I suspect the problem is that gdb couldn't find the
binary for the pid.  Do 'file /path/to/binary' or pass the binary as the fi=
rst
arg to gdb on the command line and then use attach.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213764-8-UBrhdIc8uh>