Added source listing to gdb debug output.

This commit is contained in:
harry 2024-01-26 22:00:20 -05:00
parent 3e8978c2aa
commit 23cf99afe5
1 changed files with 1 additions and 0 deletions

View File

@ -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);