This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

-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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]