This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
-break-insert and multi-byte file names
- From: Gordon Prieur <Gordon dot Prieur at Sun dot COM>
- To: gdb at sourceware dot org
- Date: Fri, 28 Sep 2007 10:56:34 -0700
- Subject: -break-insert and multi-byte file names
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 <location>" 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