[LLVMbugs] [Bug 13406] New: Cannot step into function with GDB

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 19 11:14:54 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13406

             Bug #: 13406
           Summary: Cannot step into function with GDB
           Product: clang
           Version: 3.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: greg.smolyn at strangeloopnetworks.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


I'm seeing a subtle and somewhat inconsistent problem.

I was happily able to debug with clang compiled binaries, but at some point
(code change in my project? update from ubuntu?) that I am no longer able to
step into one specific function.

This function is not inline or static, and previously there was no problem.  

Also, Setting a breakpoint with "b fooFunc" simply doesn't work.

_However_, if I set a breakpoint _in_ that function using line numbers, it
works... "b Foo.cpp:20", for example, will work just fine and it will stop
inside that function.

I'm compiling with -O0 -g3, as I have always been.  GCC has no problems.


± clang --version
clang version 3.1 (tags/RELEASE_31/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix


± gdb --version
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04

OS: Ubuntu 12.04

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list