From patchwork Tue Nov 11 01:28:16 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 3646 Received: (qmail 24852 invoked by alias); 11 Nov 2014 01:29:12 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 24840 invoked by uid 89); 11 Nov 2014 01:29:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pd0-f182.google.com Received: from mail-pd0-f182.google.com (HELO mail-pd0-f182.google.com) (209.85.192.182) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 11 Nov 2014 01:29:11 +0000 Received: by mail-pd0-f182.google.com with SMTP id fp1so9040142pdb.27 for ; Mon, 10 Nov 2014 17:29:09 -0800 (PST) X-Received: by 10.70.43.229 with SMTP id z5mr36176901pdl.25.1415669349234; Mon, 10 Nov 2014 17:29:09 -0800 (PST) Received: from seba.sebabeach.org.gmail.com (173-13-178-50-sfba.hfc.comcastbusiness.net. [173.13.178.50]) by mx.google.com with ESMTPSA id qm3sm17672262pdb.51.2014.11.10.17.29.07 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Nov 2014 17:29:08 -0800 (PST) From: Doug Evans To: gdb-patches@sourceware.org Subject: [COMMITTED PATCH] symmisc.c: remove trailing whitespace Date: Mon, 10 Nov 2014 17:28:16 -0800 Message-ID: MIME-Version: 1.0 X-IsSubscribed: yes Hi. I noticed some trailing whitespace in symmisc.c. Committed. 2014-11-10 Doug Evans * symmisc.c (print_objfile_statistics): Remove trailing whitespace. (maintenance_info_symtabs, maintenance_check_symtabs): Ditto. diff --git a/gdb/symmisc.c b/gdb/symmisc.c index 223a7d1..885fe12 100644 --- a/gdb/symmisc.c +++ b/gdb/symmisc.c @@ -132,11 +132,11 @@ print_objfile_statistics (void) blockvectors++; } printf_filtered (_(" Number of symbol tables: %d\n"), i); - printf_filtered (_(" Number of symbol tables with line tables: %d\n"), + printf_filtered (_(" Number of symbol tables with line tables: %d\n"), linetables); - printf_filtered (_(" Number of symbol tables with blockvectors: %d\n"), + printf_filtered (_(" Number of symbol tables with blockvectors: %d\n"), blockvectors); - + if (OBJSTAT (objfile, sz_strtab) > 0) printf_filtered (_(" Space used by a.out string tables: %d\n"), OBJSTAT (objfile, sz_strtab)); @@ -726,7 +726,7 @@ maintenance_info_symtabs (char *regexp, int from_tty) ALL_PSPACE_OBJFILES (pspace, objfile) { struct symtab *symtab; - + /* We don't want to print anything for this objfile until we actually find a symtab whose name matches. */ int printed_objfile_start = 0; @@ -742,7 +742,7 @@ maintenance_info_symtabs (char *regexp, int from_tty) { printf_filtered ("{ objfile %s ", objfile_name (objfile)); wrap_here (" "); - printf_filtered ("((struct objfile *) %s)\n", + printf_filtered ("((struct objfile *) %s)\n", host_address_to_string (objfile)); printed_objfile_start = 1; } @@ -750,7 +750,7 @@ maintenance_info_symtabs (char *regexp, int from_tty) printf_filtered (" { symtab %s ", symtab_to_filename_for_display (symtab)); wrap_here (" "); - printf_filtered ("((struct symtab *) %s)\n", + printf_filtered ("((struct symtab *) %s)\n", host_address_to_string (symtab)); printf_filtered (" dirname %s\n", symtab->dirname ? symtab->dirname : "(null)"); @@ -813,7 +813,7 @@ maintenance_check_symtabs (char *ignore, int from_tty) { printf_filtered ("{ objfile %s ", objfile_name (objfile)); wrap_here (" "); - printf_filtered ("((struct objfile *) %s)\n", + printf_filtered ("((struct objfile *) %s)\n", host_address_to_string (objfile)); printed_objfile_start = 1; }