From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14130 invoked by alias); 12 Aug 2006 12:31:49 -0000 Received: (qmail 14122 invoked by uid 22791); 12 Aug 2006 12:31:48 -0000 X-Spam-Check-By: sourceware.org Received: from ns.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 12 Aug 2006 12:31:44 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id 29FE61007F; Sat, 12 Aug 2006 14:31:34 +0200 (CEST) From: Andreas Schwab To: Mark Kettenis Cc: eliz@gnu.org, Nikolay.Molchanov@Sun.COM, gdb@sourceware.org Subject: Re: How to set a breakpoint in file, which name has spaces? References: <44D832EE.2040405@sun.com> <44D8E404.5050407@Sun.COM> <44D98D66.9060202@sun.com> <44DAD087.30004@sun.com> <20060810125827.GA18306@nevyn.them.org> <44DB6093.4030905@sun.com> <20060810175119.GA26275@nevyn.them.org> <44DC151F.3030009@sun.com> <200608121144.k7CBi5tR014608@elgar.sibelius.xs4all.nl> X-Yow: I'll show you MY telex number if you show me YOURS... Date: Sat, 12 Aug 2006 12:31:00 -0000 In-Reply-To: <200608121144.k7CBi5tR014608@elgar.sibelius.xs4all.nl> (Mark Kettenis's message of "Sat, 12 Aug 2006 13:44:05 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-08/txt/msg00108.txt.bz2 Mark Kettenis writes: >> Date: Fri, 11 Aug 2006 15:55:40 +0300 >> From: Eli Zaretskii >> >> > Date: Thu, 10 Aug 2006 22:26:55 -0700 >> > From: Nikolay Molchanov >> > Cc: gdb@sourceware.org >> > >> > I hope we will never need to set a breakpoint in a file, >> > which name has double quotes :-) >> >> MS-Windows filesystems don't allow file names with double quotes, so >> you needn't worry about that. > > But POSIX systems do allow it: s/POSIX/UNIX/ > $ touch \" > $ ls -l \" > -rw-r--r-- 1 kettenis kettenis 0 Aug 12 13:41 " Just because it is possible does not mean it is useful. Once you start using quotes or other meta characters in file names gdb will be the least of your problems. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."