aboutsummaryrefslogtreecommitdiff
path: root/zlib/inffast.h
diff options
context:
space:
mode:
authorAndrew Burgess <aburgess@redhat.com>2023-04-03 10:56:10 +0100
committerAndrew Burgess <aburgess@redhat.com>2023-04-03 10:56:10 +0100
commit4c148f65fc148918d0be15607938770ad8c46e36 (patch)
tree2e9a38dc484cb63629f52468385e2a7a376a7f43 /zlib/inffast.h
parentd747348d02f12121a2e897f7789ff27ffbd2f23d (diff)
downloadgdb-4c148f65fc148918d0be15607938770ad8c46e36.zip
gdb-4c148f65fc148918d0be15607938770ad8c46e36.tar.gz
gdb-4c148f65fc148918d0be15607938770ad8c46e36.tar.bz2
gdb/testsuite: fix failure in gdb.python/py-unwind.exp
A potential test failure was introduced with commit: commit 6bf5f25bb150c0fbcb125e3ee466ba8f9680310b Date: Wed Mar 8 16:11:30 2023 +0000 gdb/python: make the gdb.unwinder.Unwinder class more robust In this commit a new test was added, however the expected output pattern varies depending on which Python version GDB is linked against. Older versions of Python result in output like this: (gdb) python global_test_unwinder.name = "foo" Traceback (most recent call last): File "<string>", line 1, in <module> AttributeError: can't set attribute Error while executing Python code. (gdb) While more recent versions of Python give a similar, but slightly more verbose error message, like this: (gdb) python global_test_unwinder.name = "foo" Traceback (most recent call last): File "<string>", line 1, in <module> AttributeError: can't set attribute 'name' Error while executing Python code. (gdb) The test was only accepting the first version of the output. This commit extends the test pattern so that either version will be accepted.
Diffstat (limited to 'zlib/inffast.h')
0 files changed, 0 insertions, 0 deletions