Community
Participate
Working Groups
In Bug 349736 comment 15, Mikhail writes: I get "Thread[1]null" in the filter dialog because the "target-id" attribute is "process 31286". I get the same target id for GDB 7.2 and 7.3. This is a simple program without pthreads, with pthreads the labels are fine.
Created attachment 202603 [details] Patch to check for null id and add id of process This patch checks that the threadId is not null, and also adds the processId to the process line of the filter dialog. I tested with a non-pthread program, a single thread pthread program and a multi-threaded pthread program. I'll commit to master and 8_0
Mikhail, can you review?
*** cdt git genie on behalf of Marc Khouzam *** Bug 356463: Wrong label in thread filter for programs compiled without pthreads [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=9cf02934609bb771a4d145ebee59bbac236f9be7
*** cdt git genie on behalf of Marc Khouzam *** Bug 356463: Wrong label in thread filter for programs compiled without pthreads [*] http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=80f8e653dde2bb5363e6dce989a26f85c0512aa4