From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15440 invoked by alias); 29 Sep 2007 15:57:36 -0000 Received: (qmail 15430 invoked by uid 22791); 29 Sep 2007 15:57:36 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (213.8.233.24) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 29 Sep 2007 15:57:33 +0000 Received: from HOME-C4E4A596F7 ([81.5.36.172]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id IZP43595 (AUTH halo1); Sat, 29 Sep 2007 17:57:19 +0200 (IST) Date: Sat, 29 Sep 2007 17:57:00 -0000 Message-Id: From: Eli Zaretskii To: Gordon Prieur CC: gdb@sourceware.org In-reply-to: <46FD4052.2060605@sun.com> (message from Gordon Prieur on Fri, 28 Sep 2007 10:56:34 -0700) Subject: Re: -break-insert and multi-byte file names Reply-to: Eli Zaretskii References: <46FD4052.2060605@sun.com> 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/msg00269.txt.bz2 > Date: Fri, 28 Sep 2007 10:56:34 -0700 > From: Gordon Prieur > > 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. On what OS is that? I mean the OS on which GDB runs, not the target.