kevin.mangold at siemens dot com
2018-07-26 11:30:21 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23454
Bug ID: 23454
Summary: thread number changes, when using rr record/replay
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: record
Assignee: unassigned at sourceware dot org
Reporter: kevin.mangold at siemens dot com
Target Milestone: ---
Created attachment 11154
--> https://sourceware.org/bugzilla/attachment.cgi?id=11154&action=edit
gdbthread.h and thread.c
When gdb is used with the rr record/replay tool, the thread number changes
everytime a thread creation gets re-executed.
For more information look at this rr issue:
https://github.com/mozilla/rr/issues/2229
I fixed this bug, by saving a map with corresponding thread id's to thread
numbers. When the thread id already existed, we are using the old thread
number, if not everything stays the same.
Normal using of gdb doesn't get affected, it only affects, when used with rr
(and maybe other record/replay debugger...)
I attach my changes in thread.c and gdbthread.h
Bug ID: 23454
Summary: thread number changes, when using rr record/replay
Product: gdb
Version: HEAD
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: record
Assignee: unassigned at sourceware dot org
Reporter: kevin.mangold at siemens dot com
Target Milestone: ---
Created attachment 11154
--> https://sourceware.org/bugzilla/attachment.cgi?id=11154&action=edit
gdbthread.h and thread.c
When gdb is used with the rr record/replay tool, the thread number changes
everytime a thread creation gets re-executed.
For more information look at this rr issue:
https://github.com/mozilla/rr/issues/2229
I fixed this bug, by saving a map with corresponding thread id's to thread
numbers. When the thread id already existed, we are using the old thread
number, if not everything stays the same.
Normal using of gdb doesn't get affected, it only affects, when used with rr
(and maybe other record/replay debugger...)
I attach my changes in thread.c and gdbthread.h
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.