[PATCH] gdb/testsuite: Fix pretty-print.exp on big-endian platforms

Andreas Arnez arnez@linux.ibm.com
Tue Oct 1 17:23:00 GMT 2019


On Tue, Oct 01 2019, Tom Tromey wrote:

>>>>>> "Andreas" == Andreas Arnez <arnez@linux.ibm.com> writes:
>
> Andreas> 	* gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
> Andreas> 	'six' to unsigned.
> Andreas> 	(s1): Initialize fields 'four' and 'six' instead of 'three' and
> Andreas> 	'five'.  Use an all-ones bit pattern for each.
> Andreas> 	* gdb.base/pretty-print.exp: Adjust expected output of "print s1"
> Andreas> 	to its changed values.
>
> Thanks, this is ok.
>
> Tom

Thanks, pushed as commit #53d666ecfbb18f836cd4cb9f1de7013e3d03f4df.

--
Andreas



More information about the Gdb-patches mailing list