all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "chrt" <chrt2000@gmail.com>
Cc: 25754@debbugs.gnu.org
Subject: bug#25754: 24.5; gdb goes wrong when using non-English file or directory name
Date: Thu, 16 Feb 2017 19:52:08 +0200	[thread overview]
Message-ID: <83mvdmxbuf.fsf@gnu.org> (raw)
In-Reply-To: <tencent_76B05B594C8051E23FF0D3BA@qq.com> (chrt2000@gmail.com)

> From: "chrt" <chrt2000@gmail.com>
> Date: Thu, 16 Feb 2017 23:10:05 +0800
> Feedback-ID: webmail:qq.com:bgforeign:bgforeign1
> 
> I opened a existing C++ source code with Chinese file name,
> then used `M-x gdb`:`gdb -i=mi xxx` and `M-x gdb-many-windows`.
> Trying clicking the fringe to set a breakpoint, I didn't get a little red
> point as expected, though it appeared successfully in the breakpoints
> buffer. However, then I was told that `Use M-x make-directory RET RET
> to create the directory and its parents`. Clicking the fringe again, it 
> told me
> `File /home/_directory_name_/"/home/_directory_name_/_some_strange_numbers_with_backslash_.cpp"
> is read-only on disk. Make buffer read-only, too? (y or n)`
> 
> After changing the file name into a English one, gdb worked normally. It
> also went wrong when picking a Chinese directory name.

Please upgrade to Emacs 25.1, this problem should be fixed there.  If
this still doesn't work out-of-the-box in Emacs 25.1, customize
gdb-mi-decode-strings to a non-nil value.





      reply	other threads:[~2017-02-16 17:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-16 15:10 bug#25754: 24.5; gdb goes wrong when using non-English file or directory name chrt
2017-02-16 17:52 ` Eli Zaretskii [this message]

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=83mvdmxbuf.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=25754@debbugs.gnu.org \
    --cc=chrt2000@gmail.com \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.