This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug symtab/21292] New: step into function doesn't work for shared libraries built with -Wl,-znow
- From: "al.drozdov at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 23 Mar 2017 05:55:10 +0000
- Subject: [Bug symtab/21292] New: step into function doesn't work for shared libraries built with -Wl,-znow
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=21292
Bug ID: 21292
Summary: step into function doesn't work for shared libraries
built with -Wl,-znow
Product: gdb
Version: 7.12.1
Status: RESOLVED
Severity: normal
Priority: P2
Component: symtab
Assignee: unassigned at sourceware dot org
Reporter: al.drozdov at gmail dot com
Target Milestone: ---
Status: RESOLVED
Resolution: DUPLICATE
If a shared library is created with -Wl,-znow option then gdb cannot step into
its internal functions. Instead, it behaves as if 'next' command was just
typed. But it is still possible to make breakpoints on the library functions
gdb cannot step into, and then gdb successfully stops on them.
It seems that this because ".rela.plt" section is absent on the libraries built
with -Wl,-znow.
gdb 7.12.1 on Ubuntu 6.04.2 x86_64, ld 2.26.1.
--- Comment #1 from Alexander Drozdov <al.drozdov at gmail dot com> ---
Duplicate of 21293
*** This bug has been marked as a duplicate of bug 21293 ***
--
You are receiving this mail because:
You are on the CC list for the bug.