[binutils-gdb] Simplify print_scalar_formatted

sergiodj+buildbot@sergiodj.net sergiodj+buildbot@sergiodj.net
Mon Jun 12 23:10:00 GMT 2017


*** TEST RESULTS FOR COMMIT d9109c8080ac0a2caeaa5f3d51e8a3b4891a68a8 ***

Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: d9109c8080ac0a2caeaa5f3d51e8a3b4891a68a8

Simplify print_scalar_formatted

This unifies the two switches in print_scalar_formatted, removing some
now-redundant code.  Now scalar types are never converted to LONGEST,
instead printing is done using print_*_chars, operating on the byte
representation.

ChangeLog
2017-06-12  Tom Tromey  <tom@tromey.com>

	* printcmd.c (print_scalar_formatted): Unify the two switches.
	Don't convert scalars to LONGEST.

2017-06-12  Tom Tromey  <tom@tromey.com>

	* gdb.arch/altivec-regs.exp: Expect decimal results for uint128.



More information about the Gdb-testers mailing list