A test in gdb.python/py-send-packet.exp added in this commit:
commit
24b2de7b776f8f23788d855b1eec290c6e208821
Date: Tue Aug 31 14:04:36 2021 +0100
gdb/python: add gdb.RemoteTargetConnection.send_packet
included a large amount of binary data in the command sent to GDB. As
this test didn't have a real test name the binary data was included in
the gdb.sum file. The contents of the binary data could change
between different runs of GDB, and this makes comparing results
harder.
This commit gives the test a real test name.
# Run the test, fetches the auxv data in Python and confirm it
# matches the expected results.
gdb_test "python run_auxv_send_packet_test(\"$reply_data\")" \
- "auxv send packet test passed"
+ "auxv send packet test passed" \
+ "call python run_auxv_send_packet_test function"
}
set sizeof_global_var [get_valueof "/d" "sizeof(global_var)" "UNKNOWN"]