Use GDB with a Multi-Threaded Application II
Let's continue with our analysis of the multi-threaded application and learn how to examine its data and environment.
Using a memory map
To examine the data section of a running application, we can use the pmap
command with the PID of the application. For your convenience, we’ve already captured the memory map for App1
that you can view with the following command:
Get hands-on with 1400+ tech skills courses.