Dump Memory for Post-Processing
Explore methods to collect memory contents, list functions and variables, and load symbols for post-processing Linux core dumps. Understand how to examine stack traces, inspect arguments, and dump memory regions for deeper debugging insights.
In this lesson, we’ll see how we can collect information like memory contents, lists of functions, and module variables for post-processing. We’ll also see how we can load symbols and inspect arguments and local variables.
Application source code
We have designed a multi-threaded application for this task.
Loading the core dump
We can load up the core dump file using the following command:
gdb -c App12.core.698 -se App12
The above command will output the following to the terminal:
...