Adding thread ID to trace lines and cleaning up their formatting.
This commit is contained in:
@@ -25,9 +25,12 @@ class Processor;
|
||||
class ThreadState {
|
||||
public:
|
||||
ThreadState(Processor* processor,
|
||||
uint32_t stack_size, uint32_t thread_state_address);
|
||||
uint32_t stack_size, uint32_t thread_state_address,
|
||||
uint32_t thread_id);
|
||||
~ThreadState();
|
||||
|
||||
uint32_t thread_id() const;
|
||||
|
||||
xe_ppc_state_t* ppc_state();
|
||||
|
||||
private:
|
||||
@@ -37,6 +40,7 @@ private:
|
||||
|
||||
uint32_t stack_address_;
|
||||
uint32_t thread_state_address_;
|
||||
uint32_t thread_id_;
|
||||
|
||||
xe_ppc_state_t ppc_state_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user