This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 3/5] Simplify print_scalar_formatted
- From: Pedro Alves <palves at redhat dot com>
- To: Tom Tromey <tom at tromey dot com>, gdb-patches at sourceware dot org
- Date: Mon, 5 Jun 2017 18:27:54 +0100
- Subject: Re: [RFA 3/5] Simplify print_scalar_formatted
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=pass smtp.mailfrom=palves at redhat dot com
- Dkim-filter: OpenDKIM Filter v2.11.0 mx1.redhat.com 56BDA8123D
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 56BDA8123D
- References: <20170602193651.3173-1-tom@tromey.com> <20170602193651.3173-4-tom@tromey.com>
On 06/02/2017 08:36 PM, Tom Tromey wrote:
> 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.
LGTM.
Thanks,
Pedro Alves