solenv/bin/gdbtrycatchtrace
raw| 1 | set pagination off |
| 2 | catch throw |
| 3 | commands |
| 4 | bt |
| 5 | cont |
| 6 | end |
| 7 | catch catch |
| 8 | commands |
| 9 | bt |
| 10 | cont |
| 11 | end |
| 12 | echo log will be saved as gdbtrace.log, this will take some time, patience...\n |
| 13 | set logging redirect on |
| 14 | set logging file gdbtrace.log |
| 15 | set logging enabled on |
| 16 | set logging overwrite on |
| 17 | run |
| 18 | bt |
| 19 | quit |
| 20 | set logging enabled off |
| 21 | echo log is saved as gdbtrace.log\n |