mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:17:44 +00:00
HackStudio: Enable building HackStudio on x86_64
This implements bits and pieces to get the debugging functionality to build. No testing has been done to check whether it actually works because GCC doesn't currently work.
This commit is contained in:
parent
fb099ad38b
commit
b81926d933
14 changed files with 110 additions and 29 deletions
|
@ -78,13 +78,13 @@ private:
|
|||
|
||||
bool should_stop_single_stepping(const Debug::DebugInfo::SourcePosition& current_source_position) const;
|
||||
void clear_temporary_breakpoints();
|
||||
void add_temporary_breakpoint(u32 address);
|
||||
const Vector<u32>& temporary_breakpoints() const { return m_addresses_of_temporary_breakpoints; }
|
||||
void add_temporary_breakpoint(FlatPtr address);
|
||||
const Vector<FlatPtr>& temporary_breakpoints() const { return m_addresses_of_temporary_breakpoints; }
|
||||
|
||||
private:
|
||||
State m_state { Normal };
|
||||
Optional<Debug::DebugInfo::SourcePosition> m_original_source_position; // The source position at which we started the current single step
|
||||
Vector<u32> m_addresses_of_temporary_breakpoints;
|
||||
Vector<FlatPtr> m_addresses_of_temporary_breakpoints;
|
||||
};
|
||||
|
||||
explicit Debugger(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue