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: "vsoftco at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 14 Jul 2016 22:29:23 +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
--- Comment #5 from vsoftco at gmail dot com ---
(In reply to Bernhard Heckel from comment #4)
> 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.
After an "si" to the first line in `f<int>(12)` (the template function), I am
getting
0x0000000100000e90 in ?? ()
--
You are receiving this mail because:
You are on the CC list for the bug.