Date: Fri, 3 Jun 2016 11:49:39 -0500 From: Eric van Gyzen <vangyzen@FreeBSD.org> To: "current@freebsd.org" <current@freebsd.org> Subject: No debug info for statically linked stuff Message-ID: <066b3552-7961-c6ac-fa12-b8379fc71d0c@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
I'm running head from Tuesday (r301045). I just noticed that "ar" is
missing the debuginfo for libarchive:
$ /usr/local/bin/gdb /usr/bin/ar
GNU gdb (GDB) 7.11 [GDB v7.11 for FreeBSD]
[...]
Reading symbols from /usr/bin/ar...Reading symbols from
/usr/lib/debug//usr/bin/ar.debug...done.
done.
(gdb) ptype struct archive
No struct type named archive.
(gdb) p archive_write_open_filename
$1 = {<text variable, no debug info>} 0x406be0
<archive_write_open_filename>
Is this a known issue?
Has libarchive.a already been stripped when ar is linked?
Eric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?066b3552-7961-c6ac-fa12-b8379fc71d0c>
