projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92c713d
)
Run 'black' on recent test case
author
Tom Tromey
<tromey@adacore.com>
Fri, 8 Sep 2023 19:06:47 +0000
(13:06 -0600)
committer
Tom Tromey
<tromey@adacore.com>
Fri, 8 Sep 2023 19:06:47 +0000
(13:06 -0600)
The auto-builders pointed out that I neglected to run 'black' after a
rest testcase change. This patch fixes the oversight.
gdb/testsuite/gdb.python/py-varobj.py
patch
|
blob
|
history
diff --git
a/gdb/testsuite/gdb.python/py-varobj.py
b/gdb/testsuite/gdb.python/py-varobj.py
index 578ad14d4df1798153f1bac48021de7ef640040f..eb83729aaab8746202b31fc412ebac4440507c8e 100644
(file)
--- a/
gdb/testsuite/gdb.python/py-varobj.py
+++ b/
gdb/testsuite/gdb.python/py-varobj.py
@@
-34,4
+34,5
@@
def str_lookup_function(val):
if val.type.code == gdb.TYPE_CODE_PTR and val.type.target().tag == "test":
return TestPrinter(val.dereference())
+
gdb.printing.register_pretty_printer(None, str_lookup_function)