diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-31 07:40:33 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-02-13 15:21:06 -0700 |
commit | 382d927ffc1224d7fdac532cf826b1322eba91ee (patch) | |
tree | ccedf5ec3bd79804d148047d9f86ba389556a5c7 /gdb/testsuite/gdb.gdb | |
parent | 25a0d393c728314e257789b948c3a2c98aca7a70 (diff) | |
download | gdb-382d927ffc1224d7fdac532cf826b1322eba91ee.zip gdb-382d927ffc1224d7fdac532cf826b1322eba91ee.tar.gz gdb-382d927ffc1224d7fdac532cf826b1322eba91ee.tar.bz2 |
Rename all fields of struct value
This renames all the fields of struct value, in preparation for the
coming changes.
Approved-By: Simon Marchi <simon.marchi@efficios.com>
Diffstat (limited to 'gdb/testsuite/gdb.gdb')
-rw-r--r-- | gdb/testsuite/gdb.gdb/python-helper.exp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.gdb/python-helper.exp b/gdb/testsuite/gdb.gdb/python-helper.exp index 98f03ef..f1e95fb 100644 --- a/gdb/testsuite/gdb.gdb/python-helper.exp +++ b/gdb/testsuite/gdb.gdb/python-helper.exp @@ -139,7 +139,7 @@ proc test_python_helper {} { " instance_flags = 0," \ " length = $decimal," \ " main_type = $hex}"] - gdb_test -prompt $outer_prompt_re "print *val->type" $answer "pretty print type" + gdb_test -prompt $outer_prompt_re "print *val->m_type" $answer "pretty print type" set answer [multi_line \ "$decimal = " \ @@ -149,7 +149,7 @@ proc test_python_helper {} { " owner = $hex \\(gdbarch\\)," \ " target_type = 0x0," \ " type_specific_field = TYPE_SPECIFIC_NONE}"] - gdb_test -prompt $outer_prompt_re "print *val->type->main_type" $answer "pretty print type->main_type" + 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, # we then detect the prompt from the inner GDB, hence the use of @@ -175,7 +175,7 @@ proc test_python_helper {} { " owner = $hex \\(objfile\\)," \ " target_type = 0x0," \ " int_stuff = { bit_size = $decimal, bit_offset = $decimal }}"] - gdb_test -prompt $outer_prompt_re "print *val->type->main_type" $answer "pretty print type->main_type for DWARF type" + gdb_test -prompt $outer_prompt_re "print *val->m_type->main_type" $answer "pretty print type->main_type for DWARF type" # Send the continue to the outer GDB, which resumes the inner GDB, # we then detect the prompt from the inner GDB, hence the use of |