Added source listing to gdb debug output.
This commit is contained in:
parent
3e8978c2aa
commit
23cf99afe5
|
@ -17,6 +17,7 @@ print "Executable: $exe\n";
|
|||
my $gdbCmdFile = "/tmp/gdbCmdFile";
|
||||
open CMD_FILE, ">$gdbCmdFile" or die "Error: Could not open file: $gdbCmdFile\n";
|
||||
print CMD_FILE "run\n";
|
||||
print CMD_FILE "list\n";
|
||||
print CMD_FILE "backtrace\n";
|
||||
close(CMD_FILE);
|
||||
|
||||
|
|
Loading…
Reference in New Issue