Advertisement

GDB Core dump: Recover argc argv values after crash

Started by August 10, 2011 06:13 PM
0 comments, last by Bregma 13 years, 1 month ago
[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.

[/font]

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.

Stephen M. Webb
Professional Free Software Developer

This topic is closed to new replies.

Advertisement