simulavr
1.1.0
|
#include <hwstack.h>
Public Attributes | |
int | m_sp |
Stack Pointer. Address 0x0000 is invalid; used for running thread. GDB never sees the 0. More... | |
int | m_ip |
address (in bytes, not index) More... | |
bool | m_alive |
unsigned char | registers [32] |
int | m_created_by_thread |
A thread automatically detected in simulated program. We keep track of them in core->stack.m_ThreadList.m_threads[] and report them to GDB.
bool Thread::m_alive |
Definition at line 46 of file hwstack.h.
Referenced by ThreadList::IsGDBThreadAlive(), ThreadList::OnPop(), and ThreadList::ThreadList().
int Thread::m_ip |
address (in bytes, not index)
Definition at line 45 of file hwstack.h.
Referenced by ThreadList::OnPop(), and ThreadList::ThreadList().
int Thread::m_sp |
Stack Pointer. Address 0x0000 is invalid; used for running thread. GDB never sees the 0.
Definition at line 44 of file hwstack.h.
Referenced by ThreadList::GetThreadBySP(), ThreadList::OnPop(), and ThreadList::ThreadList().
unsigned char Thread::registers[32] |
State of R0 - R31 registers at last call-site. GDB's prologue analyzer is weak and would not unwind the stack at "switch-site" - but it would on call-site.
Definition at line 49 of file hwstack.h.
Referenced by ThreadList::OnCall().