diff options
Diffstat (limited to 'Applications/ProcessManager/main.cpp')
-rw-r--r-- | Applications/ProcessManager/main.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Applications/ProcessManager/main.cpp b/Applications/ProcessManager/main.cpp index 895482ad35..36c15bb753 100644 --- a/Applications/ProcessManager/main.cpp +++ b/Applications/ProcessManager/main.cpp @@ -1,5 +1,6 @@ #include "GraphWidget.h" #include "MemoryStatsWidget.h" +#include "ProcessMemoryMapWidget.h" #include "ProcessStacksWidget.h" #include "ProcessTableView.h" #include <LibCore/CTimer.h> @@ -155,11 +156,16 @@ int main(int argc, char** argv) app.set_menubar(move(menubar)); auto* process_tab_widget = new GTabWidget(process_container_splitter); + + auto* memory_map_widget = new ProcessMemoryMapWidget(nullptr); + process_tab_widget->add_widget("Memory map", memory_map_widget); + auto* stacks_widget = new ProcessStacksWidget(nullptr); process_tab_widget->add_widget("Stacks", stacks_widget); process_table_view->on_process_selected = [&](pid_t pid) { stacks_widget->set_pid(pid); + memory_map_widget->set_pid(pid); }; auto* window = new GWindow; |