From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Augusto Fraga Giachero Newsgroups: gmane.emacs.bugs Subject: bug#21572: 24.5; Gud gdb doesn't load source files with utf-8 chars in the file name Date: Sun, 27 Sep 2015 12:26:55 -0300 Message-ID: <87612vopc0.fsf@deskarch0.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1443370594 23048 80.91.229.3 (27 Sep 2015 16:16:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Sep 2015 16:16:34 +0000 (UTC) To: 21572@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 27 18:16:23 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZgEcW-0001Gv-Dh for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Sep 2015 18:16:12 +0200 Original-Received: from localhost ([::1]:58033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgEcV-0002K4-VI for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Sep 2015 12:16:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgEcR-0002Hs-IN for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2015 12:16:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgEcM-0007Td-DZ for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2015 12:16:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgEcM-0007TV-9m for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2015 12:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZgEcL-0001yP-S8 for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2015 12:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Fraga Giachero Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Sep 2015 16:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21572 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14433705087512 (code B ref -1); Sun, 27 Sep 2015 16:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Sep 2015 16:15:08 +0000 Original-Received: from localhost ([127.0.0.1]:45798 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZgEbS-0001x3-9N for submit@debbugs.gnu.org; Sun, 27 Sep 2015 12:15:07 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59352) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZgDtz-0000si-0V for submit@debbugs.gnu.org; Sun, 27 Sep 2015 11:30:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgDtx-0003wn-Kj for submit@debbugs.gnu.org; Sun, 27 Sep 2015 11:30:10 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41925) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgDtx-0003wj-Ii for submit@debbugs.gnu.org; Sun, 27 Sep 2015 11:30:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgDtw-0000Om-AN for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2015 11:30:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZgDtr-0003iL-Ak for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2015 11:30:08 -0400 Original-Received: from mail-qg0-x22b.google.com ([2607:f8b0:400d:c04::22b]:33578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZgDtr-0003gD-6z for bug-gnu-emacs@gnu.org; Sun, 27 Sep 2015 11:30:03 -0400 Original-Received: by qgev79 with SMTP id v79so103452778qge.0 for ; Sun, 27 Sep 2015 08:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=Nx7FMVdqAHIpuu1RbMRd1XqoWQW7T4YZk4itL0I4opc=; b=i2p5XmcQ7zV58xfyqjE9vSW068uNl3BgUGbOtDTIPjQjpWrWWhixJVMgF5ripZXvi3 dWTo1lu2s5z6/UR79Mq434ushuWrcvVLD1RLQbvSJ5tGkiNFRSvNRfB2mqe0p7lCKPL2 9gRnQETloUOLJYS0oyVYTsjUUsAM4Ee7tKf3nB1of9n+iXD5NMFz4ejFJyjYnX9niq7j 7BV5/BjYS5aDr7bmpj7qmIfJdZH9rl/nwkyHWjckFdXKn0nA1M1sVkkU1laP0qVYj1P7 /xqD5FPjc1gxgDy1KQMX/Hrh4oSjwUopqRgILoxKIC2Xsg4EvG6cogGKBq7sKsGJjAI4 jEUg== X-Received: by 10.140.151.197 with SMTP id 188mr8041317qhx.26.1443367802281; Sun, 27 Sep 2015 08:30:02 -0700 (PDT) Original-Received: from deskarch0 ([177.195.8.68]) by smtp.gmail.com with ESMTPSA id z196sm5328865qhd.22.2015.09.27.08.30.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 27 Sep 2015 08:30:01 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Sun, 27 Sep 2015 12:15:05 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106974 Archived-At: I'm having problems when trying to debug a program with gdb. The GUD doesn't load the source files if they have any utf-8 character in their names. I know that gdb replaces utf-8 characters with backslash and their corresponding octal value, it seems that GUD isn't parsing these octal sequences. Here is an part of my gdb-source-file-list: (... "/home/augusto/Projetos/Eletr\303\264nica/ARM/IoControl/src/main.c" ...) The correct path should be: /home/augusto/Projetos/Eletr=C3=B4nica/ARM/IoControl/src/main.c I think it's not hard to fix it, but my knowledge of lisp isn't that great. In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-09 on foutrelis Windowing system distributor `The X.Org Foundation', version 11.0.11702000 Configured using: `configure --prefix=3D/usr --sysconfdir=3D/etc --libexecdir=3D/usr/lib --localstatedir=3D/var --with-x-toolkit=3Dgtk3 --with-xft 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric -O2 -pipe -fstack-protector-str= ong --param=3Dssp-buffer-size=3D4' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LANG: pt_BR.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: global-company-mode: t company-mode: t yas-global-mode: t yas-minor-mode: t display-time-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: [yas] Loading for `emacs-lisp-mode', just-in-time: (lambda nil (yas--load-d= irectory-1 (quote /home/augusto/.emacs.d/elpa/yasnippet-20150811.1222/snipp= ets/emacs-lisp-mode) (quote emacs-lisp-mode)))! [yas] Loading compiled snippets from /home/augusto/.emacs.d/elpa/yasnippet-= 20150811.1222/snippets/emacs-lisp-mode [yas] Loading for `prog-mode', just-in-time: (lambda nil (yas--load-directo= ry-1 (quote /home/augusto/.emacs.d/elpa/yasnippet-20150811.1222/snippets/pr= og-mode) (quote prog-mode)))! [yas] Loading compiled snippets from /home/augusto/.emacs.d/elpa/yasnippet-= 20150811.1222/snippets/prog-mode Loading /home/augusto/.emacs.d/elpa/yasnippet-20150811.1222/snippets/prog-m= ode/.yas-setup...done For information about GNU Emacs and the GNU system, type C-h C-a. *message*-20150927-113643 has auto save data; consider M-x recover-this-file Beginning of buffer Mark set [2 times] Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message idna cl-macs format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils company-files company-oddmuse company-keywords company-etags etags ring company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company-irony irony-completion irony-snippet irony find-func company waher-theme ido cl-extra yasnippet help-mode cl gv linum-relative advice help-fns linum picasm picasm-loops picasm-external edmacro kmacro cl-loaddefs cl-lib info easymenu tex-site package epg-config time time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 154849 3972) (symbols 48 24539 0) (miscs 40 103 151) (strings 32 37552 10436) (string-bytes 1 932429) (vectors 16 17551) (vector-slots 8 519725 3706) (floats 8 406 239) (intervals 56 257 0) (buffers 960 15) (heap 1024 34440 1713))