Date: Mon, 01 Aug 2016 22:16:43 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211516] lldb: single stepping does not work on arm Message-ID: <bug-211516-8@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211516 Bug ID: 211516 Summary: lldb: single stepping does not work on arm Product: Base System Version: CURRENT Hardware: arm OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: emaste@freebsd.org Testing lldb in head on FreeBSD/arm shows that breakpoints work as expected, but single stepping does not. root@:~ # lldb --version lldb version 3.8.0 clang revision 262564 Example program: root@:~ # cat hello.c #include <stdio.h> int main(int argc, char *argv[]) { printf("Hello, world\n"); printf("Another line\n"); return 0; } root@:~ # cc -g hello.c root@:~ # Breakpoints work as expected: root@:~ # lldb ./a.out (lldb) target create "./a.out" Current executable set to './a.out' (arm). (lldb) b 6 Breakpoint 1: where =3D a.out`main + 36 at hello.c:6, address =3D 0x00008648 (lldb) run Process 533 launching Process 533 launched: '/root/a.out' (arm) Process 533 stopped * thread #1: tid =3D 100045, 0x00008648 a.out`main(argc=3D1, argv=3D0xbfbfe= d74) + 36 at hello.c:6, stop reason =3D breakpoint 1.1 frame #0: 0x00008648 a.out`main(argc=3D1, argv=3D0xbfbfed74) + 36 at he= llo.c:6 3 int 4 main(int argc, char *argv[]) 5 { -> 6 printf("Hello, world\n"); 7 printf("Another line\n"); 8 return 0; 9 } But stepping does not; the program just continues. (lldb) step (lldb) Hello, world Another line Process 533 exited with status =3D 0 (0x00000000)=20 Instruction step (stepi) fails the same way. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211516-8>
