2 #include "ProgramManager.h"
7 ProgramManager::ProgramManager(Misc::SmartPointer
<Platform::ArgumentList
> argument_list
)
8 : argument_list(argument_list
), running(false) {
10 elf_parser
= new ELF::Parser(argument_list
->get_argument(0));
11 dwarf_parser
= new DWARF::Parser(elf_parser
);
14 void ProgramManager::execute() {
16 ptrace_portal
= new PTrace::Portal(get_argument_list()->get_argument(0), get_argument_list());
19 void ProgramManager::wait() {
20 ptrace_portal
->handle_signal();
23 } // namespace Interface
24 } // namespace Aesalon