GDB Core dump: Recover argc argv values after crash
[font=Arial,]
Is possible to recover the exact values of argv and argc parameters of a main after the application crashed?
I need to use only the application core-dump and gdb debugger on Linux.
Um, just walk up the stack and print the contents of argc and argv? Use the 'up' command to go up the stack and 'print' to print variables.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement