run trace under GDB in batch mode and print SP in every frame

This commit is contained in:
2020-01-22 20:04:39 +04:00
parent f1a2039996
commit a427b63cb5
2 changed files with 62 additions and 0 deletions
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
make
gdb --batch --command=script.gdb ./build/trace