https://llvm.org/bugs/show_bug.cgi?id=25847
Bug ID: 25847 Summary: "f s <#>" fails as short form for "frame select <#>" Product: lldb Version: unspecified Hardware: PC OS: FreeBSD Status: NEW Severity: normal Priority: P Component: All Bugs Assignee: lldb-dev@lists.llvm.org Reporter: ema...@freebsd.org CC: llvm-b...@lists.llvm.org Classification: Unclassified "f s 2" reports "error: invalid arguments." and "error: Frame index (4294967295) out of range." while "frame select 2" is successful. Session transcript: (lldb) target create "/bin/sleep" Current executable set to '/bin/sleep' (x86_64). (lldb) settings set -- target.run-args "3600" (lldb) run Process 24755 launching Process 24755 launched: '/bin/sleep' (x86_64) Process 24755 stopped * thread #1: tid = 100103, 0x0000000800b0925a libc.so.7`__sys_nanosleep + 10 at _nanosleep.S:3, stop reason = signal SIGSTOP frame #0: 0x0000000800b0925a libc.so.7`__sys_nanosleep + 10 at _nanosleep.S:3 1 #include "compat.h" 2 #include "SYS.h" -> 3 PSEUDO(nanosleep) 4 .section .note.GNU-stack,"",%progbits (lldb) bt * thread #1: tid = 100103, 0x0000000800b0925a libc.so.7`__sys_nanosleep + 10 at _nanosleep.S:3, stop reason = signal SIGSTOP * frame #0: 0x0000000800b0925a libc.so.7`__sys_nanosleep + 10 at _nanosleep.S:3 frame #1: 0x0000000000400ae6 sleep`main(argc=<unavailable>, argv=<unavailable>) + 150 at sleep.c:91 [opt] frame #2: 0x000000000040091f sleep`_start(ap=<unavailable>, cleanup=<unavailable>) + 367 at crt1.c:78 [opt] (lldb) f s 2 error: invalid arguments. Command Options Usage: frame select [-r <offset>] [<frame-index>] -r <offset> ( --relative <offset> ) A relative frame index offset from the current frame index. error: Frame index (4294967295) out of range. (lldb) frame select 2 sleep was compiled with optimization - stepping may behave oddly; variables may not be available. frame #2: 0x000000000040091f sleep`_start(ap=<unavailable>, cleanup=<unavailable>) + 367 at crt1.c:78 [opt] 75 #endif 76 77 handle_static_init(argc, argv, env); -> 78 exit(main(argc, argv, env)); 79 } (lldb) -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev