feynman% bin/lldb /tank/emaste/src/llvm/tools/lldb/test/functionalities/launch_with_glob/a.out
(lldb) target create "/tank/emaste/src/llvm/tools/lldb/test/functionalities/launch_with_glob/a.out"
Current executable set to '/tank/emaste/src/llvm/tools/lldb/test/functionalities/launch_with_glob/a.out' (x86_64).
(lldb) b 4
Breakpoint 1: where = a.out`main + 23 at main.cpp:4, address = 0x0000000000400777
(lldb) process launch -G true -w /tank/emaste/src/llvm/tools/lldb/test/functionalities/launch_with_glob -- fi*.tx
Process 16789 launching
Process 16789 launched: '/tank/emaste/src/llvm/tools/lldb/test/functionalities/launch_with_glob/a.out' (x86_64)
Process 16789 stopped
thread #1: tid = 101169, 0x0000000000400777 a.outmain(argc=2, argv=0x00007fffffffe500) + 23 at main.cpp:4, stop reason = breakpoint 1.1 frame #​0: 0x0000000000400777 a.outmain(argc=2, argv=0x00007fffffffe500) + 23 at main.cpp:4
1 int
2 main (int argc, char const *argv)
3 {
-> 4 return 0; // break here
5 }
(lldb) frame variable argv[1]
(const char ) argv[1] = 0x00007fffffffe82d "fi*.tx"
Extended Description
feynman% bin/lldb /tank/emaste/src/llvm/tools/lldb/test/functionalities/launch_with_glob/a.out (lldb) target create "/tank/emaste/src/llvm/tools/lldb/test/functionalities/launch_with_glob/a.out" Current executable set to '/tank/emaste/src/llvm/tools/lldb/test/functionalities/launch_with_glob/a.out' (x86_64). (lldb) b 4 Breakpoint 1: where = a.out`main + 23 at main.cpp:4, address = 0x0000000000400777 (lldb) process launch -G true -w /tank/emaste/src/llvm/tools/lldb/test/functionalities/launch_with_glob -- fi*.tx Process 16789 launching Process 16789 launched: '/tank/emaste/src/llvm/tools/lldb/test/functionalities/launch_with_glob/a.out' (x86_64) Process 16789 stopped
main(argc=2, argv=0x00007fffffffe500) + 23 at main.cpp:4, stop reason = breakpoint 1.1 frame #​0: 0x0000000000400777 a.out
main(argc=2, argv=0x00007fffffffe500) + 23 at main.cpp:4 1 int 2 main (int argc, char const *argv) 3 { -> 4 return 0; // break here 5 } (lldb) frame variable argv[1] (const char ) argv[1] = 0x00007fffffffe82d "fi*.tx"