Go to file
Chuck Ries da21e98932 -thread-info in lldbmi does not conform to protocol. Should end with current thread id
-thread-info in lldbmi does not conform to protocol. Should end with
current thread id as described here:
https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI-Thread-Commands.html#GDB_002fMI-Thread-Commands

When printing all threads, the current thread id should be printed
afterwards.

Example:
-thread-info
     ^done,threads=[
     {id="2",target-id="Thread 0xb7e14b90 (LWP 21257)",
        frame={level="0",addr="0xffffe410",func="__kernel_vsyscall",
                args=[]},state="running"},
     {id="1",target-id="Thread 0xb7e156b0 (LWP 21254)",
        frame={level="0",addr="0x0804891f",func="foo",
                args=[{name="i",value="10"}],
                file="/tmp/a.c",fullname="/tmp/a.c",line="158"},
                state="running"}],
     current-thread-id="1"
     (gdb)

Patch from jacdavis@microsoft.com

Reviewers: zturner, chuckr

Differential Revision: http://reviews.llvm.org/differential/revision/edit/18880/

llvm-svn: 265858
2016-04-08 22:17:53 +00:00
clang Remove unused functions from ASTWriter interface. 2016-04-08 21:54:32 +00:00
clang-tools-extra [Release Notes] Sort checks alphabetically. 2016-04-08 17:21:27 +00:00
compiler-rt [sanitizer] Fix sem_init_glibc.cc test on __HAVE_64B_ATOMIC arches. 2016-04-07 20:26:28 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc [AMDGPU] Implement get_local_size for amdgcn--amdhsa triple 2016-04-07 19:54:19 +00:00
libcxx Update filesystem status 2016-04-08 21:52:32 +00:00
libcxxabi Update copyright year to 2016. 2016-03-30 22:40:47 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld Fix another crash bug in --start-lib. 2016-04-08 21:38:22 +00:00
lldb -thread-info in lldbmi does not conform to protocol. Should end with current thread id 2016-04-08 22:17:53 +00:00
llgo [llgo] add USES_TERMINAL option to check-libgo 2016-03-30 00:29:33 +00:00
llvm fix documentation comments; NFC 2016-04-08 21:42:43 +00:00
openmp [STATS] Remove trailing whitespace in stats source files 2016-04-05 18:48:48 +00:00
polly [FIX] Do not crash on opaque (unsized) types. 2016-04-08 19:20:03 +00:00