diff options
author | Arne Döring <arne.doering@gmx.net> | 2019-10-20 11:52:50 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-10-20 11:52:50 +0200 |
commit | ec20fd35447fea2a5da8538260397cea24051db5 (patch) | |
tree | ee18c998d8fc87d546f712e97df34c018cb52aed /tests | |
parent | df4c339cfce15ccc5406bc7763eac4daf9b8c76f (diff) | |
download | Nim-ec20fd35447fea2a5da8538260397cea24051db5.tar.gz |
fix #12426 (#12462)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/untestable/gdb/gdb_pretty_printer_test.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/untestable/gdb/gdb_pretty_printer_test.py b/tests/untestable/gdb/gdb_pretty_printer_test.py index 54af65d9a..f002941ec 100644 --- a/tests/untestable/gdb/gdb_pretty_printer_test.py +++ b/tests/untestable/gdb/gdb_pretty_printer_test.py @@ -22,6 +22,9 @@ outputs = [ ] for i, expected in enumerate(outputs): + functionSymbol = gdb.selected_frame().block().function + assert functionSymbol.line == 21 + if i == 5: # myArray is passed as pointer to int to myDebug. I look up myArray up in the stack gdb.execute("up") |