From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126413 invoked by alias); 16 May 2015 12:27:38 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 126404 invoked by uid 89); 16 May 2015 12:27:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.3 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 16 May 2015 12:27:37 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t4GCRaNH021889 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Sat, 16 May 2015 08:27:36 -0400 Received: from host1.jankratochvil.net (ovpn-116-27.ams2.redhat.com [10.36.116.27]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t4GCRXxB014409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sat, 16 May 2015 08:27:35 -0400 Date: Sat, 16 May 2015 12:27:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Cc: Phil Muldoon Subject: [commit] [PATCH v5 2/7] Code cleanup: Make parts of print_command_1 public Message-ID: <20150516122732.GA9862@host1.jankratochvil.net> References: <20150513201615.4051.5261.stgit@host1.jankratochvil.net> <20150513201633.4051.19277.stgit@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150513201633.4051.19277.stgit@host1.jankratochvil.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00426.txt.bz2 On Wed, 13 May 2015 22:16:33 +0200, Jan Kratochvil wrote: > gdb/ChangeLog > 2015-05-03 Jan Kratochvil > > * printcmd.c (struct format_data): Move it to valprint.h. > (print_command_parse_format, print_value): New functions from ... > (print_command_1): ... here. Call them. > * valprint.h (struct format_data): Move it here from printcmd.c. > (print_command_parse_format, print_value): New declarations. Checked in: 1c88ceb1bedc81dbfd1d076e4a49bbf533b4e238 Jan