[lldb-dev] [Bug 27416] missing global variables
via lldb-dev
lldb-dev at lists.llvm.org
Wed Jul 31 18:12:51 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=27416
Jonas Devlieghere <jdevlieghere at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jdevlieghere at apple.com
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #4 from Jonas Devlieghere <jdevlieghere at apple.com> ---
(lldb) target create "/tmp/test.o"
Current executable set to '/tmp/test.o' (x86_64).
(lldb) b main
Breakpoint 1: where = test.o`main + 13 at test.c:6:3, address =
0x0000000100000fad
(lldb) r
Process 32984 launched: '/tmp/test.o' (x86_64)
Process 32984 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
frame #0: 0x0000000100000fad test.o`main at test.c:6:3
3 int c = 2;
4
5 int main() {
-> 6 return 0;
7 }
(lldb) target variable c
(int) c = 2
(lldb) target variable
Global variables for /private/tmp/test.c in /tmp/test.o:
(int) c = 2
(int) a = 0
(int) b = 1
--
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/20190801/3546b104/attachment.html>
More information about the lldb-dev
mailing list