aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-03-20 10:18:22 -0600
committerTom Tromey <tromey@adacore.com>2023-03-20 11:40:36 -0600
commit505ca0bfa52845fb7793b9f2a808c7c5aa4677fd (patch)
tree09a9c94ed36ff8858911fe8185978ccae7120139 /gdb/testsuite/gdb.gdb
parent80d6c79866f16cb2e184ea4952e2ca7f797dee44 (diff)
downloadfsf-binutils-gdb-505ca0bfa52845fb7793b9f2a808c7c5aa4677fd.zip
fsf-binutils-gdb-505ca0bfa52845fb7793b9f2a808c7c5aa4677fd.tar.gz
fsf-binutils-gdb-505ca0bfa52845fb7793b9f2a808c7c5aa4677fd.tar.bz2
Update python-helper.exp for type allocation changes
The type allocation changes introduced a failure in python-helper.exp that I did not notice. The bug is that, with these patches, arch-allocated integer types have a TYPE_SPECIFIC_INT object attached. This patch updates the test to allow this. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30253
Diffstat (limited to 'gdb/testsuite/gdb.gdb')
-rw-r--r--gdb/testsuite/gdb.gdb/python-helper.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.gdb/python-helper.exp b/gdb/testsuite/gdb.gdb/python-helper.exp
index dbd78cb..a58e3b6 100644
--- a/gdb/testsuite/gdb.gdb/python-helper.exp
+++ b/gdb/testsuite/gdb.gdb/python-helper.exp
@@ -145,7 +145,7 @@ proc test_python_helper {} {
" flags = \[^\r\n\]+," \
" owner = $hex \\(gdbarch\\)," \
" target_type = 0x0," \
- " type_specific_field = TYPE_SPECIFIC_NONE}"]
+ " int_stuff = { bit_size = $decimal, bit_offset = $decimal }}"]
gdb_test -prompt $outer_prompt_re "print *val->m_type->main_type" $answer "pretty print type->main_type"
# Send the continue to the outer GDB, which resumes the inner GDB,