Message ID | 20180906211303.11029-9-tom@tromey.com |
---|---|
State | New |
Headers | show
Delivered-To: patches-gcc@linaro.org Received: by 2002:a2e:9d43:0:0:0:0:0 with SMTP id y3-v6csp1015781ljj; Thu, 6 Sep 2018 14:14:33 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaA1W/dFBZC7qwTGZ0tQe+a+Hb86rwPcs5HvN9ZJunYLoLsP3mLaGP3APVKTvoT8S2R5xFW X-Received: by 2002:a63:7f55:: with SMTP id p21-v6mr4847905pgn.285.1536268473357; Thu, 06 Sep 2018 14:14:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536268473; cv=none; d=google.com; s=arc-20160816; b=HddJuJSnKvBShYPfUUtZDI4zWx3fh0kK4afeB8otf5MGGVd6ul6CxrMobbpClTtFy2 J60/3uD0r9ExN7L8lrkzyDPecx0ycR1SL60l9LMwjFY92DAkSlPnmUbsxWnqItm7DfnF XmfzTELcnC29+O9kTEpwkq4Xqq4Xoe/ctmYRTsPu/Ad7kKHfD1XFEooJXY8vcdg5Qr8z 9PgWDj/QBvd6OO+yX2Efk9TKNNRrFPMe025icc35I6Ssm+ko0mP4b9IjsVvp7fsDyzHm MgW/w755D1Xpu/eXfToPweNYsxonZ3rpaAbKZLMrj4nGlIQMWUbo856usOIizJ8pXLoq /Zrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:delivered-to:sender:list-help:list-post:list-archive :list-subscribe:list-unsubscribe:list-id:precedence:mailing-list :dkim-signature:domainkey-signature; bh=FTLyZJVeWeot5KzRaK2IQ8XwRsJY1bWdJV5K0S9qCQU=; b=Zl8Hkb8lIxOmlVQs+h5tIy60adl2uQ+PfnEacDjA/dfvpsEsUbXWJrn52r4YfSrOqs sJi2DQa8CJEvc8Bba5b+P6ysAIyfUsk1mM75c7vtKePv//WHJQIAT6akXZrDZClnqe4j V4SCRIU/sXqdizj0J6TwIsp8EENkcvQsw0Y23/+Wk+pIzOpGpAZYrUaqPl/28FfECszZ SwrBnhS5qsBcBYy9L1TJYFVVU8uVXOFYHmM6bi1VW6VNGUYpQ2lLlxjDb0zLwU511wRi 0EqlqHv0gCIxO5xcCormOwhxwIgxuKgx8NDW5lO2AVe61q/d4GuRDKHzTB/5O15nNCIi OUrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=e+rXVzcl; dkim=fail header.i=@tromey.com header.s=default header.b=uOAA2Lai; spf=pass (google.com: domain of gdb-patches-return-150445-patches-gcc=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gdb-patches-return-150445-patches-gcc=linaro.org@sourceware.org" Return-Path: <gdb-patches-return-150445-patches-gcc=linaro.org@sourceware.org> Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id g6-v6si6043463plp.225.2018.09.06.14.14.32 for <patches-gcc@linaro.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Sep 2018 14:14:33 -0700 (PDT) Received-SPF: pass (google.com: domain of gdb-patches-return-150445-patches-gcc=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=e+rXVzcl; dkim=fail header.i=@tromey.com header.s=default header.b=uOAA2Lai; spf=pass (google.com: domain of gdb-patches-return-150445-patches-gcc=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="gdb-patches-return-150445-patches-gcc=linaro.org@sourceware.org" DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=d2tta2+KX5fAG8Z1S3r/Cc2+SnUmiLM o+wQ8thP2fECzuAyCKVyWpTTD12hMC66Qkc8Au56AnqESKUhbvGupyY+uaeoVR1S IWjn19m3NTlMJdGbK61zw9qmwl28zPnbYmrH1VMbFgR9eg9w0UZ6dcmW4dfvOn+F 5ffslyziZqbY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id:in-reply-to :references; s=default; bh=5IsuRc/uDOmSqbhOWqgXWuDJ4jI=; b=e+rXV zclxPEcgbJu29u6qk5qYAYeEcOCm/MecxhsYrA0daVV7GJlV7RYxKVwpNV/add6F Npfe9ucV5cr0l+TmTnoB4X+jkvOeVrBgF3W+TDsldtUd6cQWdDmCsM3C0uQxk5i7 EEe+jaBk3uBWzfAy2VN6sNXvuoUEQ2niKeqACM= Received: (qmail 117182 invoked by alias); 6 Sep 2018 21:14:30 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <gdb-patches.sourceware.org> List-Unsubscribe: <mailto:gdb-patches-unsubscribe-patches-gcc=linaro.org@sourceware.org> List-Subscribe: <mailto:gdb-patches-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 117166 invoked by uid 89); 6 Sep 2018 21:14:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:982 X-HELO: gateway23.websitewelcome.com Received: from gateway23.websitewelcome.com (HELO gateway23.websitewelcome.com) (192.185.49.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 06 Sep 2018 21:14:28 +0000 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway23.websitewelcome.com (Postfix) with ESMTP id A9F49150DC for <gdb-patches@sourceware.org>; Thu, 6 Sep 2018 16:13:25 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id y1aUfddGObXuJy1abfxZYy; Thu, 06 Sep 2018 16:13:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=FTLyZJVeWeot5KzRaK2IQ8XwRsJY1bWdJV5K0S9qCQU=; b=uOAA2LaiHMdy9S6B8dJu40aiRB 9CQLEspV9MkToZI+LNHKwKqvylrLhMmSAtP9iRgo1xsbd9GQELCeUnjbP5gBwpf2HYTSy+L6sGCiD wJdQYDClu2T22Ff3UWrcvoYhb; Received: from 75-166-85-72.hlrn.qwest.net ([75.166.85.72]:34550 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from <tom@tromey.com>) id 1fy1aU-0013U4-7q; Thu, 06 Sep 2018 16:13:14 -0500 From: Tom Tromey <tom@tromey.com> To: gdb-patches@sourceware.org Cc: Tom Tromey <tom@tromey.com> Subject: [RFC 8/8] Style the "Reading symbols" message Date: Thu, 6 Sep 2018 15:13:03 -0600 Message-Id: <20180906211303.11029-9-tom@tromey.com> In-Reply-To: <20180906211303.11029-1-tom@tromey.com> References: <20180906211303.11029-1-tom@tromey.com> |
Series |
|
Related |
show
|
diff --git a/gdb/symfile.c b/gdb/symfile.c index 20697d9dca2..999e3935622 100644 --- a/gdb/symfile.c +++ b/gdb/symfile.c @@ -58,6 +58,7 @@ #include "cli/cli-utils.h" #include "common/byte-vector.h" #include "selftest.h" +#include "cli/cli-style.h" #include <sys/types.h> #include <fcntl.h> @@ -1111,7 +1112,11 @@ symbol_file_add_with_addrs (bfd *abfd, const char *name, deprecated_pre_add_symbol_hook (name); else { - printf_unfiltered (_("Reading symbols from %s..."), name); + puts_unfiltered (_("Reading symbols from ")); + set_output_style (gdb_stdout, file_name_style.style ()); + puts_unfiltered (name); + set_output_style (gdb_stdout, ui_file_style ()); + puts_unfiltered ("..."); wrap_here (""); gdb_flush (gdb_stdout); }