[LLVMbugs] [Bug 12726] New: Breakpoint not set at the prologue_end location in case of ARM.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed May 2 07:53:45 PDT 2012
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: unassignedclangbugs at nondot.org
ReportedBy: karthikthecool at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list