mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:48:11 +00:00
Debugger: Add source-level operations
- Print current source location, if available - Add a breakpoint at a source location - "sl" command - step to the next line in source
This commit is contained in:
parent
8a886e0e96
commit
e35219b5ce
4 changed files with 72 additions and 14 deletions
|
@ -31,7 +31,8 @@
|
|||
DebugSession::DebugSession(int pid)
|
||||
: m_debugee_pid(pid)
|
||||
, m_executable(String::format("/proc/%d/exe", pid))
|
||||
, m_elf(reinterpret_cast<u8*>(m_executable.data()), m_executable.size())
|
||||
, m_elf(ELF::Loader::create(reinterpret_cast<u8*>(m_executable.data()), m_executable.size()))
|
||||
, m_debug_info(m_elf)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue