[Bug 213764] System gdb produces an error when attaching to files built with -g
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 21 22:08:29 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213764
John Baldwin <jhb at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |Rejected
CC| |jhb at FreeBSD.org
Status|New |Closed
--- Comment #1 from John Baldwin <jhb at 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 first
arg to gdb on the command line and then use attach.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list