From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1025 invoked by alias); 13 Jan 2017 15:46:45 -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 639 invoked by uid 89); 13 Jan 2017 15:46:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:AES128-SHA, remote_debug, sk:getpkt_, sk:REMOTE_ X-HELO: mail-wm0-f46.google.com Received: from mail-wm0-f46.google.com (HELO mail-wm0-f46.google.com) (74.125.82.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 13 Jan 2017 15:46:30 +0000 Received: by mail-wm0-f46.google.com with SMTP id r126so70601341wmr.0 for ; Fri, 13 Jan 2017 07:46:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=s9+voHpTwZeDUUELBaPHLAfRGoQHMF1QS5nkoYTwaJY=; b=hZp+h7nchvkUQMQYwsHngzdUmtVJPH9iosjY7DdB18z9Y695M78FoEtHlAiqCyXaI7 +HTf+w4C1zPAvLO863Nr4FF5DCexT2xEkJMF2h145NUGM0JlNeCOtp25F//CzcJCn/Hr iv9oCFoUTjFvC4aXYQyE5EggPlYRg3gtbdTItc3IjVSXVoFaTuDykIaYvvwaeC873GRc wv9JucbB8Kq+eFUxQGcewgjLBqMY55XAUxQdgRGJDVC0+Za1WtJYes8qHwpERMJ6GxnL JMVoqSUXh5vkt5GV3nhyaywNcJ/YqC/ePGCtioHh3cMxvjPbTTPe3WEkpTf+aDK8tGSw frtA== X-Gm-Message-State: AIkVDXL4XRkDJsw0N1V7jcEbryOEjJUGrM/z0yYfeizA2IfjScvGzEEWsIsVD/+67M6VIA== X-Received: by 10.223.171.13 with SMTP id q13mr12546504wrc.146.1484322387069; Fri, 13 Jan 2017 07:46:27 -0800 (PST) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by smtp.gmail.com with ESMTPSA id w7sm5013573wmd.24.2017.01.13.07.46.24 for (version=TLS1_2 cipher=AES128-SHA bits=128/128); Fri, 13 Jan 2017 07:46:26 -0800 (PST) Date: Fri, 13 Jan 2017 15:46:00 -0000 From: Yao Qi To: gdb-patches@sourceware.org Subject: Re: [PATCH V2] Don't print too much if remote_debug is on Message-ID: <20170113154614.GE28060@E107787-LIN> References: <1480433898-19584-1-git-send-email-yao.qi@linaro.org> <1481034118-17745-1-git-send-email-yao.qi@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1481034118-17745-1-git-send-email-yao.qi@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00269.txt.bz2 On 16-12-06 14:21:58, Yao Qi wrote: > gdb: > > 2016-12-06 Yao Qi > > * remote.c (REMOTE_DEBUG_MAX_CHAR): New macro. > (putpkt_binary): Print only REMOTE_DEBUG_MAX_CHAR chars in debug > output. > (getpkt_or_notif_sane_1): Likewise. I pushed it in. -- Yao (齐尧)