From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ksqsf Newsgroups: gmane.emacs.bugs Subject: bug#33548: 25.1; GUD GDB doesn't decode file paths correctly Date: Fri, 30 Nov 2018 10:03:19 +0800 Message-ID: <17949.2443836809$1543543327@news.gmane.org> References: <1543510714.13628.2.camel@ksqsf.moe> +4500C08A0B612909 <83tvjzd6cm.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1543543327 24715 195.159.176.226 (30 Nov 2018 02:02:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2018 02:02:07 +0000 (UTC) Cc: 33548@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 30 03:02:03 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSY83-0006JK-3U for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Nov 2018 03:02:03 +0100 Original-Received: from localhost ([::1]:57509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSYA9-0006V6-O1 for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Nov 2018 21:04:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSYA2-0006Up-2L for bug-gnu-emacs@gnu.org; Thu, 29 Nov 2018 21:04:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSY9y-0000Al-Ou for bug-gnu-emacs@gnu.org; Thu, 29 Nov 2018 21:04:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51100) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSY9y-0000AU-LP for bug-gnu-emacs@gnu.org; Thu, 29 Nov 2018 21:04:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gSY9y-0004ux-Hj for bug-gnu-emacs@gnu.org; Thu, 29 Nov 2018 21:04:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ksqsf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Nov 2018 02:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33548 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33548-submit@debbugs.gnu.org id=B33548.154354341318865 (code B ref 33548); Fri, 30 Nov 2018 02:04:02 +0000 Original-Received: (at 33548) by debbugs.gnu.org; 30 Nov 2018 02:03:33 +0000 Original-Received: from localhost ([127.0.0.1]:55358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSY9V-0004uC-6K for submit@debbugs.gnu.org; Thu, 29 Nov 2018 21:03:33 -0500 Original-Received: from smtpproxy19.qq.com ([184.105.206.84]:47104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSY9T-0004tu-Ji for 33548@debbugs.gnu.org; Thu, 29 Nov 2018 21:03:31 -0500 X-QQ-mid: bizesmtp18t1543543401tahwjrmr Original-Received: from veritas (unknown [36.60.154.73]) by esmtp6.qq.com (ESMTP) with id ; Fri, 30 Nov 2018 10:03:20 +0800 (CST) X-QQ-SSF: 0010000000200010F422B00A0000000 X-QQ-FEAT: 8YYOEVtNMVl+oL9rd5wfdSl8rBLSnj1SS3l3DGSMLuRAeX6F8Wp8/C5coAF+j M29MANYQ2gvjfN72CV7VhBqqU6luHhCjtgXbHhrfsgpkCjO8eCSH4T6PsHgRLPOB9BRbESQ E4vfQgUSh+LiybS7QeI9Md3SYqa6DsP5BztkeTBN2KcIGA46fKrYkfKxeqCmw3jRTiR/LNe jOvDWnRs4GlygNEOMLF2xZsYpAL1HIHdHw86dWOSSG+jF1IHSqgMz0Kr/nh40bzOGWswCxS 8Qnw== X-QQ-GoodBg: 0 In-Reply-To: <83tvjzd6cm.fsf@gnu.org> X-Mailer: Evolution 3.22.6-1+deb9u1 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:ksqsf.moe:qybgforeign:qybgforeign4 X-QQ-Bgrelay: 1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152913 Archived-At: 在 2018-11-29四的 21:35 +0200,Eli Zaretskii写道: > Does it help to set gdb-mi-decode-strings to utf-8? Yes! This fixes this problem for me. Thanks. This report can be closed now. I think this variable deserves a mention in the doc anyway. Actually it should be made default. I noticed the warning, but can we do better? I mean, simply stops gdb from escaping strings (does gdb even support this?), as _inconsistent_ escaping does nothing but introducing problems. LLDB seems to do better job in this regard.