From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Randy Yates Newsgroups: gmane.emacs.bugs Subject: bug#25488: 25.1; gdb package interpreter problem Date: Thu, 19 Jan 2017 20:33:54 +0000 Message-ID: <878tq6oklq.fsf@garnerundergroundinc.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1484858263 3989 195.159.176.226 (19 Jan 2017 20:37:43 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 19 Jan 2017 20:37:43 +0000 (UTC) Cc: "yates@ieee.org" , Nick Roberts To: 25488@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 19 21:37:37 2017 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 1cUJSK-0006tT-3P for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jan 2017 21:37:12 +0100 Original-Received: from localhost ([::1]:50824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUJSP-0000Jo-0T for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Jan 2017 15:37:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUJSF-0000IN-1v for bug-gnu-emacs@gnu.org; Thu, 19 Jan 2017 15:37:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUJSA-0008WR-40 for bug-gnu-emacs@gnu.org; Thu, 19 Jan 2017 15:37:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37606) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cUJSA-0008WJ-08 for bug-gnu-emacs@gnu.org; Thu, 19 Jan 2017 15:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cUJS9-000813-PC for bug-gnu-emacs@gnu.org; Thu, 19 Jan 2017 15:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Randy Yates Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Jan 2017 20:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25488 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.148485821830797 (code B ref -1); Thu, 19 Jan 2017 20:37:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jan 2017 20:36:58 +0000 Original-Received: from localhost ([127.0.0.1]:35805 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUJS5-00080e-Hr for submit@debbugs.gnu.org; Thu, 19 Jan 2017 15:36:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36545) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUJPi-0007wE-4Q for submit@debbugs.gnu.org; Thu, 19 Jan 2017 15:34:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUJPb-0007Gs-5Z for submit@debbugs.gnu.org; Thu, 19 Jan 2017 15:34:24 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48915) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cUJPb-0007Gj-2y for submit@debbugs.gnu.org; Thu, 19 Jan 2017 15:34:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55733) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUJPZ-0007rJ-9F for bug-gnu-emacs@gnu.org; Thu, 19 Jan 2017 15:34:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUJPU-0007DF-B1 for bug-gnu-emacs@gnu.org; Thu, 19 Jan 2017 15:34:21 -0500 Original-Received: from s12p02o160.mxlogic.net ([208.65.145.83]:56666) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cUJPU-0007Bv-1g; Thu, 19 Jan 2017 15:34:16 -0500 Original-Received: from unknown [107.190.148.219] by s12p02o160.mxlogic.net(mxl_mta-8.5.0-1605) over TLS secured channel with SMTP id 3c221885.0.1868566.00-359.3906157.s12p02o160.mxlogic.net (envelope-from ); Thu, 19 Jan 2017 13:34:11 -0700 (MST) X-MXL-Hash: 588122c345c9aebf-99efc7c8b6487313f284d2ce8ce86279e21afb8b Original-Received: from Exch2013.Ebtron01.local (10.0.0.94) by Exch2013.Ebtron01.local (10.0.0.94) with Microsoft SMTP Server (TLS) id 15.0.847.32; Thu, 19 Jan 2017 15:33:55 -0500 Original-Received: from Exch2013.Ebtron01.local ([fe80::953b:8a0c:2430:8971]) by Exch2013.Ebtron01.local ([fe80::953b:8a0c:2430:8971%12]) with mapi id 15.00.0847.040; Thu, 19 Jan 2017 15:33:55 -0500 Thread-Topic: 25.1; gdb package interpreter problem Thread-Index: AQHScpNaF9EJ28SBq0qMKMIYTABL/g== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.1.3] X-AnalysisOut: [v=2.2 cv=WMEPZjkR c=1 sm=1 tr=0 a=9cAOY3D1fQ7Z7wLPOCIRfg==] X-AnalysisOut: [:117 a=9cAOY3D1fQ7Z7wLPOCIRfg==:17 a=mbhvz6Q9Lt8A:10 a=8nJ] X-AnalysisOut: [EP1OIZ-IA:10 a=xqWC_Br6kY4A:10 a=IgFoBzBjUZAA:10 a=vTr9H3x] X-AnalysisOut: [dAAAA:8 a=QeOCh57HzEM7iHPYWTIA:9 a=TC7nq5_4-mELVetc:21 a=G] X-AnalysisOut: [OulmvybEiq4bYRo:21 a=wPNLvfGTeEIA:10 a=7PCjnrUJ-F5voXmZD6j] X-AnalysisOut: [J:22] X-Spam: [F=0.5199920032; CM=0.500; MH=0.519(2017011910); S=0.499(2015072901)] X-MAIL-FROM: X-SOURCE-IP: [107.190.148.219] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 19 Jan 2017 15:36:56 -0500 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:128252 Archived-At: this bug is for the gdb package, when debugging remotely. an extraneous space is appended to the given in a "set remote exec-file " command. this is causing the subsequent debug commands (start, run, etc.) to fail. presumably this is a bug in the interpreter adding an extraneous space. note that the same commands issued to a command-line gdb instance work fine. Step-by-step ------------ 1. configure remote system by running "gdbserver --multi localhost:" 2. on host system, run emacs, then "M-x gdb -i=3Dmi" 3. at the gdb prompt: file target extended-remote : set remote exec-file start 4.on the remote side, note the message: "Cannot exec : No such file or directory." specifically, note the space between "" and ":", which should not be there. this is the extraneous space. In GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.9) of 2016-10-13 built on buildvm-05.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.11804000 Configured using: 'configure --build=3Dx86_64-redhat-linux-gnu --host=3Dx86_64-redhat-linux-gnu --program-prefix=3D --disable-dependency-tracking --prefix=3D/usr --exec-prefix=3D/usr --bindir=3D/usr/bin --sbindir=3D/usr/sbin --sysconfdir=3D/etc --datadir=3D/usr/share --includedir=3D/usr/include --libdir=3D/usr/lib64 --libexecdir=3D/usr/libexec --localstatedir=3D/var --sharedstatedir=3D/var/lib --mandir=3D/usr/share/man --infodir=3D/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=3Dgtk3 --with-gpm=3Dno --with-xwidgets build_alias=3Dx86_64-redhat-linux-gnu host_alias=3Dx86_64-redhat-linux-gnu 'CFLAGS=3D-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=3Dformat-security -Wp,-D_FORTIFY_SOURCE=3D2 -fexceptions -fstack-protector-strong --param=3Dssp-buffer-size=3D4 -grecord-gcc-switches -specs=3D/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=3Dgeneric' LDFLAGS=3D-Wl,-z,relro PKG_CONFIG_PATH=3D:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: rcirc Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t global-eldoc-mode: t mouse-wheel-mode: t use-hard-newlines: 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 column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: nnimap read 17k from localhost nnimap read 25k from localhost nnimap read 34k from localhost Mark set Quit [2 times] Making completion list... Quit [2 times] Making completion list... Quit [2 times] Mark set Quit Load-path shadows: /usr/share/emacs/25.1/lisp/progmodes/cpp hides ./cpp Features: (shadow emacsbug dictionary link connection eieio-opt speedbar sb-image ezimage dframe find-func rcirc gdb-mi bindat json map gud search-utils sd-src-utils tramp-sh browse-url filecache cus-edit jka-compr info tabify imenu man dired-aux vc-bzr vc-src vc-sccs flow-fill tramp-cache tramp tramp-compat tramp-loaddefs trampver ucs-normalize advice conf-mode vc-git diff-mode whitespace pulse make-mode pcmpl-unix qp mm-archive rect thingatpt ggtags etags xref project ewoc edmacro kmacro cscope c-comment-edit cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs log-edit easy-mmode pcvs-util add-log vc-cvs vc-rcs pp misearch multi-isearch vc-svn tex-mode compile shell pcomplete comint ring latexenc server mailalias nnir sort ansi-color gnus-cite mail-extr gnus-async gnus-bcklg gnus-ml disp-table nndraft nnmh utf-7 nnfolder network-stream nsm starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message idna dired format-spec rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus gnus-ems nnheader wid-edit paren time delsel cus-start cus-load vc vc-dispatcher derived my-keys mailrc invoices my-easl-utils my-slime my-color-theme my-tags my-programming-utils my-packages my-grep-find-file my-dictionary my-compile my-project my-ggtags my-git ido smtpmail sendmail rfc2047 rfc2045 ietf-drums mail-utils url-util url-parse auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache url-vars my-utils my-gnus email-html cl finder-inf package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1085807 195400) (symbols 48 164211 94) (miscs 40 8539 3854) (strings 32 222707 17481) (string-bytes 1 6015145) (vectors 16 62826) (vector-slots 8 1069367 52625) (floats 8 613 2889) (intervals 56 97658 1231) (buffers 976 273) (heap 1024 269956 169705))=