Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Gordon Prieur <Gordon.Prieur@Sun.COM>
To: gdb@sourceware.org
Subject: -break-insert and multi-byte file names
Date: Fri, 28 Sep 2007 18:06:00 -0000	[thread overview]
Message-ID: <46FD4052.2060605@sun.com> (raw)

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


             reply	other threads:[~2007-09-28 17:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-28 18:06 Gordon Prieur [this message]
2007-09-28 18:21 ` Daniel Jacobowitz
2007-09-28 18:29   ` Gordon Prieur
2007-09-28 18:35     ` Daniel Jacobowitz
2007-09-29 17:57 ` Eli Zaretskii
     [not found]   ` <46FE8F99.4040604@Sun.COM>
2007-09-29 21:07     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46FD4052.2060605@sun.com \
    --to=gordon.prieur@sun.com \
    --cc=gdb@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox