[lldb-dev] [Bug 19974] C: lldb cant find file:line in "included" code (set breakpoint / source list)
via lldb-dev
lldb-dev at lists.llvm.org
Fri Jul 19 13:53:35 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=19974
Jonas Devlieghere <jdevlieghere at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |jdevlieghere at apple.com
Resolution|--- |WORKSFORME
--- Comment #3 from Jonas Devlieghere <jdevlieghere at apple.com> ---
(lldb) target create "./x"
Current executable set to './x' (x86_64).
(lldb) b x1.c:3
Breakpoint 1: where = x`x1 + 8 at x1.c:3:3, address = 0x0000000100000f58
(lldb) b x.c:6
Breakpoint 2: where = x`main + 39 at x.c:6:3, address = 0x0000000100000f27
(lldb) source list -f x.c -l 3
3 int main(int argc, char **argv)
4 {
5 printf("main starts\n");
6 x1();
7 printf("main exiting\n");
8 return 0;
9 }
10 #include "x1.c"
(lldb) source list -f x1.c -l 1
error: Could not find source file "x1.c".
(lldb) breakpoint set -name x1
Breakpoint 3: where = x`x1 + 8 at x1.c:3:3, address = 0x0000000100000f58
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190719/e2919ee1/attachment.html>
More information about the lldb-dev
mailing list