aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-sha1.c
diff options
context:
space:
mode:
authorCarl Love <cel@us.ibm.com>2023-08-11 17:08:37 -0400
committerCarl Love <cel@us.ibm.com>2023-08-11 17:09:59 -0400
commita2d9ce47dee2c1df5a79eb7f15d8a98e7b4ddbd7 (patch)
tree7b836cfb7a4f8a848a351d0c5f785df7741fa398 /libctf/ctf-sha1.c
parentf8b12b8e1048a78816b23c968b07039106365e63 (diff)
downloadgdb-a2d9ce47dee2c1df5a79eb7f15d8a98e7b4ddbd7.zip
gdb-a2d9ce47dee2c1df5a79eb7f15d8a98e7b4ddbd7.tar.gz
gdb-a2d9ce47dee2c1df5a79eb7f15d8a98e7b4ddbd7.tar.bz2
gdb.ada/mi_var_access.exp
The NUMCHILD value for the "A_String_Access" test differs for X86 and PowerPC. The patch substitutes $decimal instead of "1" to match the value of NUMCHILD. The test "-var-update A_String_Access" generates different output depending on the value of VAROBJ_UPDATE_RESULT.TYPE_CHANGED. If the value is true, the strings "new_type" and "new_num_children" are printed along with their values. The VAROBJ_UPDATE_RESULT.TYPE_CHANGED value is true on PowerPC which produces the output: Expecting: ^(-var-update A_String_Access[ ]+)?(\^done,changelist=\[\{name="A_String_Access",in_scope="true",type_changed="false",has_more="0"\}\][ ]+[(]gdb[)] [ ]*) -var-update A_String_Access ^done,changelist=[{name="A_String_Access",in_scope="true",type_changed="true",new_type="pck.string_access",new_num_children="1",has_more="0"}] (gdb) FAIL: gdb.ada/mi_var_access.exp: update at stop 2 (unexpected output) The patch adds a second possible result string for the test $re_varobj_update_result_type to match the case when type_changed is true. Currently for the mi_var_access.exp test VAROBJ_UPDATE_RESULT.TYPE_CHANGED is true on PowerPC and false on X86-64. Fixes 2 failures on PowerPC. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'libctf/ctf-sha1.c')
0 files changed, 0 insertions, 0 deletions