This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/16880] GDB does not step into template functions OS X Mavericks


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]