summaryrefslogtreecommitdiff
path: root/Libraries/LibDebug
AgeCommit message (Collapse)Author
2020-04-25LibDebug: Add remove_breakpointItamar
Also, change the interface of all breakpoint management functions to only take the address of the breakpoint as an argument.
2020-04-20Debugger: Add source-level operationsItamar
- Print current source location, if available - Add a breakpoint at a source location - "sl" command - step to the next line in source
2020-04-20LibDebug: Parse line number information from DWARF formatItamar
DWARF line number information, if generated, is stored in the .debug_line section of an object file. The information is encoded as instructions for a VM that is defined in the DWARF specification. By executing these instructions, we can extract the encoded line number information.
2020-04-16LibDebug: Add ContinueBreakAtSyscall decisionItamar
When the user of the DebugSession uses this decision, the debugged program will be continued until it is either stopped by a singal (e.g as a reuslt of a breakpoint), or enters a syscall.
2020-04-16Userland: Add "functrace" utilityItamar
functrace traces the function calls a program makes. It's like strace, but for userspace. It works by using Debugging functionality to insert breakpoints at call&ret instructions.