This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/16880] GDB does not step into template functions OS X Mavericks
- From: "bernhard.heckel at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 14 Jul 2016 11:38:10 +0000
- Subject: [Bug breakpoints/16880] GDB does not step into template functions OS X Mavericks
- Auto-submitted: auto-generated
- References: <bug-16880-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16880
Bernhard Heckel <bernhard.heckel at intel dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bernhard.heckel at intel dot com
--- Comment #4 from Bernhard Heckel <bernhard.heckel at intel dot com> ---
I saw the same behaviour. Looks like a trampoline is used to call the template
function. The address range of the trampoline is not defined in the dwarf
output and GDB got's confused and continues like a "next".
Try out single instruction stepping "si" and check if GDB shows you
after some steps something like this:
0x1111 in ?? ()
The 0x1111 is the memory where your trampoline is located but not defined in
DWARF.
Important to see "in ?? ()"
Pls confirm.
--
You are receiving this mail because:
You are on the CC list for the bug.