This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Simplify print_scalar_formatted
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 12 Jun 2017 19:10:05 -0400
- Subject: [binutils-gdb] Simplify print_scalar_formatted
- Authentication-results: sourceware.org; auth=none
*** 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.