From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27933 invoked by alias); 27 Dec 2014 08:36:41 -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 27922 invoked by uid 89); 27 Dec 2014 08:36:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Sat, 27 Dec 2014 08:36:38 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3k8dfV4FN6z3hj1m; Sat, 27 Dec 2014 09:36:34 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3k8dfV3S1dzvh1x; Sat, 27 Dec 2014 09:36:34 +0100 (CET) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id m0qzlvi7JfI3; Sat, 27 Dec 2014 09:36:33 +0100 (CET) X-Auth-Info: z2wczj48SJfFbPnJ6jxsCWBESQFg7qO2t9sUOdw0+WgnZXPO0wJ8yOomBK2gv/kw Received: from linux.local (p4FE4DF8E.dip0.t-ipconnect.de [79.228.223.142]) by mail.mnet-online.de (Postfix) with ESMTPA; Sat, 27 Dec 2014 09:36:33 +0100 (CET) Received: by linux.local (Postfix, from userid 501) id 3EF441E5781; Sat, 27 Dec 2014 09:36:29 +0100 (CET) From: Andreas Schwab To: Sergio Durigan Junior Cc: GDB Patches , Pedro Alves Subject: Re: [PATCH] Sanitize input_interrupt output References: <1419657863-13470-1-git-send-email-sergiodj@redhat.com> X-Yow: I'm wearing PAMPERS!! Date: Sat, 27 Dec 2014 08:36:00 -0000 In-Reply-To: <1419657863-13470-1-git-send-email-sergiodj@redhat.com> (Sergio Durigan Junior's message of "Sat, 27 Dec 2014 00:24:23 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2014-12/txt/msg00641.txt.bz2 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. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."