[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/48730: shared libraries built with -g do not contain debugging symbols
The following reply was made to PR toolchain/48730; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: Antti Kantee <pooka%iki.fi@localhost>, gnats-bugs%NetBSD.org@localhost,
Subject: Re: toolchain/48730: shared libraries built with -g do not contain
Date: Wed, 9 Apr 2014 13:16:47 -0400
On Apr 9, 4:37pm, pooka%iki.fi@localhost (Antti Kantee) wrote:
-- Subject: Re: toolchain/48730: shared libraries built with -g do not contai
| On 09/04/14 16:30, Christos Zoulas wrote:
| > | make DBG=-g produces a shared library without debugging symbols.
| > Does:
| > MKDEBUG=yes
| > work?
| According to riastradh on irc, it does not.
That is hearsay:
$ gdb /bin/ls
GNU gdb (GDB) 7.6.1
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
For bug reporting instructions, please see:
Reading symbols from /bin/ls...Reading symbols from
(gdb) break write
Function "write" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (write) pending.
Starting program: /bin/ls
Breakpoint 1, 0x00007f7ff703bc60 in write () from /lib/libc.so.12
#1 0x00007f7ff710bebd in __sflush (fp=fp@entry=0x605518 <__sF+152>)
107 t = (*fp->_write)(fp->_cookie, (char *)p, n);
Main Index |
Thread Index |