This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Let print_decimal_chars handle signed values
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 12 Jun 2017 18:50:52 -0400
- Subject: [binutils-gdb] Let print_decimal_chars handle signed values
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 4ac0cb1cf04f105586746a6cce5b0f93d76f2b33 ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: 4ac0cb1cf04f105586746a6cce5b0f93d76f2b33
Let print_decimal_chars handle signed values
This changes print_decimal_chars to handle signed values.
gdb/ChangeLog
2017-06-12 Tom Tromey <tom@tromey.com>
PR exp/16225:
* valprint.h (print_decimal_chars): Update.
* valprint.c (maybe_negate_by_bytes): New function.
(print_decimal_chars): Add "is_signed" argument.
* printcmd.c (print_scalar_formatted): Update.