[PATCH] gdb/testsuite: Fix py-format-string.exp on big-endian platforms

Tom Tromey tom@tromey.com
Wed Oct 2 15:58:00 GMT 2019


>>>>> "Andreas" == Andreas Arnez <arnez@linux.ibm.com> writes:

Andreas> You mean in anticipation of this union being extended in the future?
Andreas> Sure, I can do that; see updated patch below.  OK to apply?

Well, I was thinking more if the size of "int" was different.
But that's probably a pedantic suggestion... sorry about that.

Andreas> +  "a_struct_with_union"		"\\{the_union = \\{an_int = 707406378, a_char = 42 '\\*'\\}\\}" \

.. especially seeing this and realizing that we can't avoid the issue.

This patch is ok.  Thanks for bearing with me.

Tom



More information about the Gdb-patches mailing list