threads and frames
This commit is contained in:
@@ -25,6 +25,22 @@ namespace dbgui::frontend
|
||||
std::vector<Reg> regs;
|
||||
};
|
||||
|
||||
struct Thread
|
||||
{
|
||||
uint64_t id;
|
||||
uint64_t ip;
|
||||
uint64_t stop_extra;
|
||||
ThreadStopReason stop_reason;
|
||||
std::string name;
|
||||
std::string cur_display_fn;
|
||||
};
|
||||
|
||||
struct Frame
|
||||
{
|
||||
uint64_t ip;
|
||||
std::string display_name;
|
||||
};
|
||||
|
||||
Target(std::string filename);
|
||||
|
||||
TargetState state = TargetState::stopped;
|
||||
@@ -33,6 +49,8 @@ namespace dbgui::frontend
|
||||
Arch arch;
|
||||
|
||||
std::vector<RegSet> reg_sets;
|
||||
std::vector<std::optional<Thread>> threads;
|
||||
std::vector<std::optional<Frame>> frames;
|
||||
|
||||
std::shared_ptr<backend::Backend> backend = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user