Simplify print_scalar_formatted
authorTom Tromey <tom@tromey.com>
Tue, 23 May 2017 00:43:59 +0000 (18:43 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 12 Jun 2017 21:04:57 +0000 (15:04 -0600)
commitd9109c8080ac0a2caeaa5f3d51e8a3b4891a68a8
tree362a17ed87d4511432d07f78230be25a3341bab5
parent4ac0cb1cf04f105586746a6cce5b0f93d76f2b33
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.
gdb/ChangeLog
gdb/printcmd.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/altivec-regs.exp
This page took 0.042562 seconds and 4 git commands to generate.