From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1630 invoked by alias); 29 Dec 2014 19:25:29 -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 1609 invoked by uid 89); 29 Dec 2014 19:25:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham 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; Mon, 29 Dec 2014 19:25:24 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sBTJPIaX001176 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 29 Dec 2014 14:25:19 -0500 Received: from localhost (dhcp-10-15-16-169.yyz.redhat.com [10.15.16.169]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sBTJPIdX010046 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NO); Mon, 29 Dec 2014 14:25:18 -0500 From: Sergio Durigan Junior To: Pedro Alves Cc: Andreas Schwab , GDB Patches Subject: Re: [PATCH] Sanitize input_interrupt output References: <1419657863-13470-1-git-send-email-sergiodj@redhat.com> <87lhlslbqg.fsf@redhat.com> <54A1371C.7000309@redhat.com> X-URL: http://blog.sergiodj.net Date: Mon, 29 Dec 2014 19:25:00 -0000 In-Reply-To: <54A1371C.7000309@redhat.com> (Pedro Alves's message of "Mon, 29 Dec 2014 11:12:28 +0000") Message-ID: <87y4pqi7hd.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00670.txt.bz2 On Monday, December 29 2015, Pedro Alves wrote: > On 12/28/2014 03:00 AM, Sergio Durigan Junior wrote: >> On Saturday, December 27 2014, Andreas Schwab wrote: >> >>> Sergio Durigan Junior writes: >>> >>>> + { >>>> + fprintf (stderr, "input_interrupt, count = %d c = %d ", cc, c); >>>> + if (isprint (c)) >>>> + fprintf (stderr, "('%c')\n", c); >>>> + else >>>> + fprintf (stderr, "('\\x%02x)\n", c & 0xFF); >>> ^ >>> >>> Missing second quote character. >> >> Ops, thanks. Corrected version below. > > OK, but please write "0xff" in lowercase. > > Thanks! Pushed with the requested fix. fafcc06ab29fe98d2767234dc77062d08ea0d3c7 Thanks, -- Sergio GPG key ID: 0x65FC5E36 Please send encrypted e-mail if possible http://sergiodj.net/