From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22071 invoked by alias); 28 Sep 2007 17:56:45 -0000 Received: (qmail 22062 invoked by uid 22791); 28 Sep 2007 17:56:45 -0000 X-Spam-Check-By: sourceware.org Received: from sca-es-mail-2.Sun.COM (HELO sca-es-mail-2.sun.com) (192.18.43.133) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 28 Sep 2007 17:56:43 +0000 Received: from fe-sfbay-10.sun.com ([192.18.43.129]) by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id l8SHugMv018218 for ; Fri, 28 Sep 2007 10:56:42 -0700 (PDT) Received: from conversion-daemon.fe-sfbay-10.sun.com by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) id <0JP300F01AT7ML00@fe-sfbay-10.sun.com> (original mail from Gordon.Prieur@Sun.COM) for gdb@sourceware.org; Fri, 28 Sep 2007 10:56:42 -0700 (PDT) Received: from [129.146.82.55] by fe-sfbay-10.sun.com (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007)) with ESMTPSA id <0JP3004RVB6HOYG0@fe-sfbay-10.sun.com> for gdb@sourceware.org; Fri, 28 Sep 2007 10:56:41 -0700 (PDT) Date: Fri, 28 Sep 2007 18:06:00 -0000 From: Gordon Prieur Subject: -break-insert and multi-byte file names To: gdb@sourceware.org Message-id: <46FD4052.2060605@sun.com> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7BIT User-Agent: Thunderbird 1.5 (X11/20060113) 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: 2007-09/txt/msg00246.txt.bz2 Hi, I'm working on a netbeans C++/gdb debugger problem setting breakpoints in multi-byte filenames. My filename is the Russian equivalent of test.cc (in UTF-8 its "\u0422\u0435\u0441\u0442.cc" but for simplicity I'm just going to type it as test.cc in this email). If I type "b test.cc:10" I get a valid breakpoint. If I type "-break-insert test.cc:10" I get "mi_cmd_break_insert: Garbage following " and a failed breakpoint. I've tried various quoting permutations but none have worked. Short of setting all my breakpoints with the non-mi breakpoint commands, is there any way to get this to work? Am I likely to run into other gdb/mi problems with multi-byte filenames? Thanks, Gordon