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

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.

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