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

             Bug #: 12726
           Summary: Breakpoint not set at the prologue_end location in
                    case of ARM.
           Product: clang
           Version: trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


I'm currently facing an issue while running gdb on c code compiled on ARM.
Breakpoint is not getting set at the 1st executable line in case cross compiled
for ARM target.

For e.g. In the below function-

int main()          //line 1
{                   //line 2
                    //line 3
  int j =0;         //line 4
  return j;         //line 5
}                   //line 6


When we compile the above code and run gdb with the following commands-

gdb a.out
break main

The break point is set at line 2 instead of line 4.

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to