From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14183 invoked by alias); 9 Oct 2010 19:26:48 -0000 Received: (qmail 14173 invoked by uid 22791); 9 Oct 2010 19:26:47 -0000 X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from gate.lvk.cs.msu.su (HELO mail.lvk.cs.msu.su) (158.250.17.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 09 Oct 2010 19:26:39 +0000 Received: from mail.lvk.cs.msu.su (localhost [127.0.0.1]) by mail.lvk.cs.msu.su (Postfix) with ESMTP id E6B1073A2; Sat, 9 Oct 2010 23:26:33 +0400 (MSD) X-Spam-ASN: Received: from thunder.localnet (h86-62-88-129.ln.rinet.ru [86.62.88.129]) by mail.lvk.cs.msu.su (Postfix) with ESMTPSA id C0B396E58; Sat, 9 Oct 2010 23:26:33 +0400 (MSD) From: Vladimir Prus To: gdb@sourceware.org Subject: Sevenbit-strings only partially respected? Date: Sat, 09 Oct 2010 19:26:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-22-generic-pae; KDE/4.5.1; i686; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201010092326.36112.ghost@cs.msu.su> X-AV-Checked: ClamAV using ClamSMTP Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00024.txt.bz2 I've run into a situation where setting 'print sevenbit-strings' of off still does not prevent GDB from escaping some characters. Specifically, consider the character 0xD0, and this bit in printchar: if (c < 0x20 || /* Low control chars */ (c >= 0x7F && c < 0xA0) || /* DEL, High controls */ (sevenbit_strings && c >= 0x80)) { /* high order bit set */ Apparently, the second condition fires and causes 0xD0 to be quoted. Is this expected behaviour? - Volodya