This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: -break-insert and multi-byte file names
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Gordon Prieur <Gordon dot Prieur at Sun dot COM>
- Cc: gdb at sourceware dot org
- Date: Sat, 29 Sep 2007 17:57:30 +0200
- Subject: Re: -break-insert and multi-byte file names
- References: <46FD4052.2060605@sun.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 28 Sep 2007 10:56:34 -0700
> From: Gordon Prieur <Gordon.Prieur@Sun.COM>
>
> 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 <location>" 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.