From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12823 invoked by alias); 12 Feb 2009 19:02:45 -0000 Received: (qmail 12308 invoked by uid 22791); 12 Feb 2009 19:02:36 -0000 X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mu-out-0910.google.com (HELO mu-out-0910.google.com) (209.85.134.191) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 12 Feb 2009 19:02:30 +0000 Received: by mu-out-0910.google.com with SMTP id g7so354213muf.8 for ; Thu, 12 Feb 2009 11:02:27 -0800 (PST) MIME-Version: 1.0 Received: by 10.103.115.12 with SMTP id s12mr547723mum.89.1234465347392; Thu, 12 Feb 2009 11:02:27 -0800 (PST) Date: Thu, 12 Feb 2009 19:02:00 -0000 Message-ID: <578d90ee0902121102h75129e60xec5aae8a15820b08@mail.gmail.com> Subject: Problem setting a breakpoint at a location containing spaces (using MI) From: Francois Chouinard To: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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: 2009-02/txt/msg00103.txt.bz2 Hi, I know this sounds supremely basic but, using MI, what would be the syntax to insert a breakpoint when specifying a location containing spaces? E.g. (w/ gdb 6.8): (gdb) -break-insert "../src/DSF Hello World.c:16" &"Function \"\" not defined.\n" ^error,msg="Function \"\" not defined." (gdb) -break-insert "../src/DSF\ Hello\ World.c:16" &"Function \"\" not defined.\n" ^error,msg="Function \"\" not defined." (gdb) -break-insert "../src/DSF\\ Hello\\ World.c:16" &"Function \"\" not defined.\n" ^error,msg="Function \"\" not defined." (gdb) It tried a few other variants (involving creative use of double quotes and backslashes :-) but they didn't work either... Is there a protocol limitation? I know it works well with CLI but I wonder what is the correct variant to make it work with MI. Also, wasn't it working in the past? Thanks, /fc