From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 19 15:36:57 2017 Received: (at submit) by debbugs.gnu.org; 19 Jan 2017 20:36:58 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 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 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 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 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 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 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 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 From: Randy Yates To: "bug-gnu-emacs@gnu.org" Subject: 25.1; gdb package interpreter problem Thread-Topic: 25.1; gdb package interpreter problem Thread-Index: AQHScpNaF9EJ28SBq0qMKMIYTABL/g== Date: Thu, 19 Jan 2017 20:33:54 +0000 Message-ID: <878tq6oklq.fsf@garnerundergroundinc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.1.3] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 19 Jan 2017 15:36:56 -0500 Cc: "yates@ieee.org" , Nick Roberts X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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))= From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 20 14:24:52 2017 Received: (at 25488) by debbugs.gnu.org; 20 Jan 2017 19:24:52 +0000 Received: from localhost ([127.0.0.1]:36627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUens-0006aL-97 for submit@debbugs.gnu.org; Fri, 20 Jan 2017 14:24:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUenq-0006a9-R6 for 25488@debbugs.gnu.org; Fri, 20 Jan 2017 14:24:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUenj-0005Bu-Tt for 25488@debbugs.gnu.org; Fri, 20 Jan 2017 14:24:45 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUenV-00057W-R2; Fri, 20 Jan 2017 14:24:29 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cUenV-0004UX-0J; Fri, 20 Jan 2017 14:24:29 -0500 From: Glenn Morris To: Randy Yates Subject: Re: bug#25488: 25.1; gdb package interpreter problem References: <878tq6oklq.fsf@garnerundergroundinc.com> X-Spook: NORAD mindwar Human to Animal SAFE Sears Tower SRI X-Ran: '9@x9&i(jW8[QhH.p"}Hcg#5ywTTM\D|S_( X-Hue: black X-Attribution: GM Date: Fri, 20 Jan 2017 14:24:28 -0500 In-Reply-To: <878tq6oklq.fsf@garnerundergroundinc.com> (Randy Yates's message of "Thu, 19 Jan 2017 20:33:54 +0000") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) X-Debbugs-Envelope-To: 25488 Cc: "yates@ieee.org" , 25488@debbugs.gnu.org, sergiodj@riseup.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.2 (--------) (Nick doesn't maintain gdb.el any more, so I removed him from the cc) Randy Yates wrote: > 1. configure remote system by running "gdbserver --multi localhost:" > > 2. on host system, run emacs, then "M-x gdb -i=mi" > > 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. Confirmed on rhel 7. This seems to be due to the " " in: (concat gdb-continuation string " ") in gdb-send, which was added in bug#14847. I've cc'd the author of that change. From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 20 14:25:26 2017 Received: (at control) by debbugs.gnu.org; 20 Jan 2017 19:25:26 +0000 Received: from localhost ([127.0.0.1]:36632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUeoQ-0006bn-Gp for submit@debbugs.gnu.org; Fri, 20 Jan 2017 14:25:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUeoP-0006bc-OC for control@debbugs.gnu.org; Fri, 20 Jan 2017 14:25:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUeoG-0005co-33 for control@debbugs.gnu.org; Fri, 20 Jan 2017 14:25:20 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUeoG-0005ci-03 for control@debbugs.gnu.org; Fri, 20 Jan 2017 14:25:16 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1cUeoF-0004dU-1H for control@debbugs.gnu.org; Fri, 20 Jan 2017 14:25:15 -0500 Subject: control message for bug 25488 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Fri, 20 Jan 2017 14:25:15 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.2 (--------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.2 (--------) tag 25488 confirmed From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 20 14:33:14 2017 Received: (at 25488) by debbugs.gnu.org; 20 Jan 2017 19:33:14 +0000 Received: from localhost ([127.0.0.1]:36649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUevx-0008Vt-On for submit@debbugs.gnu.org; Fri, 20 Jan 2017 14:33:13 -0500 Received: from kwanyin.sergiodj.net ([158.69.185.54]:42593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUevv-0008Vi-W1 for 25488@debbugs.gnu.org; Fri, 20 Jan 2017 14:33:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sergiodj.net; s=20160602; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=aLDnhAD1QDd7KpLsGmTWpOJ98vZs7HotNPRmkfNNbfM=; b=M2x6+brKisdBJd/d7r9+ngS5V8t3b9MX2bu8n1Mudg2B03+9myAHM2v/9ivHDfIMIbo13r+yFUaNlt8g5kLN3nvclchBSuNQ0QtA67pGgmvUmpyxaup8TmDHCLhDGuA9Yv1vh+SsFgPV/S4ywb8pOZ+nGx2LqGsq+wQ5feDGiQU=; From: Sergio Durigan Junior To: Glenn Morris Subject: Re: bug#25488: 25.1; gdb package interpreter problem References: <878tq6oklq.fsf@garnerundergroundinc.com> X-URL: http://blog.sergiodj.net Date: Fri, 20 Jan 2017 14:33:02 -0500 In-Reply-To: (Glenn Morris's message of "Fri, 20 Jan 2017 14:24:28 -0500") Message-ID: <8760l9h6hd.fsf@sergiodj.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -3.2 (---) X-Debbugs-Envelope-To: 25488 Cc: "yates@ieee.org" , 25488@debbugs.gnu.org, Randy Yates X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.2 (---) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Friday, January 20 2017, Glenn Morris wrote: >> 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. > > > Confirmed on rhel 7. > > This seems to be due to the " " in: > > (concat gdb-continuation string " ") > > in gdb-send, which was added in bug#14847. I've cc'd the author of that c= hange. Heh, I helped the reporter diagnose this issue, and as it turns out I was the culprit! Thanks for the report, I'll take a look at this later today. Cheers, =2D-=20 Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYgmXvAAoJENDrdihl/F42GccP/it+IynJkasZufb7fcystg8C qWfDJaqHCgUfzMA7IGB0898zUlicsChqWWY+0FR6B5tjeM/rjelK1KLwKzE8PCju fFBRxEgtDWIi0roWhFsusU76M5KsrBv6jbRJzWXA/XWHSGhbunuLqwHJ6exx2vyX L2aAPbrRzRkeBeAkNQk00/FTAtpEgW9cCHWKyeRu26JBeOLsZ4sSMwfT/ELOXpuO +dCH+yWmvBa51BBeA1DbfsS6WR1pVyT9PPgBSHwsq540frvppj+w8ZJrDq+UgdcB /VwPYYQjHk/rL/9HadzMYonpDgIzZ9e3CDBuNiNxi7aWBsIiTdZYyZ34+DL+6t9J 5U3cs47ghFDlKRgG9IoCQNOZSrMN0wfRwyI5UulTefY9S4lUN8dg7MVUdvulM1S9 5zQWqrCBO8/UxbbuucOdLSBzm5GROuRskZnriUCSK0LB7JHkT+lMP/GIRGpQ3wM1 qYqaBRZcfp6NXNbIv+8RkTSAR7uuB3DP6/XVrORU/Zv1JNxow18FEee0VQrVyUqj siWTsUhjOdZOsOuaPTqs3EsRavNoqeIcWru5/wn3ehs0ddR3aH0LbEkDFfO6enf1 zruAG/y1HpJ+xVMEq/NCBBum4iZzlhhj83L4/P86M7p6VAlzx/L6YyC80gUDjAn0 gBEIUFfenLBwdtLBW7X8 =+n4k -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 14 21:21:41 2019 Received: (at 25488) by debbugs.gnu.org; 15 Sep 2019 01:21:41 +0000 Received: from localhost ([127.0.0.1]:47275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9JET-0006E1-1s for submit@debbugs.gnu.org; Sat, 14 Sep 2019 21:21:41 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:35092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9JEP-0006Dh-3E for 25488@debbugs.gnu.org; Sat, 14 Sep 2019 21:21:38 -0400 Received: by mail-pg1-f182.google.com with SMTP id n4so17279444pgv.2 for <25488@debbugs.gnu.org>; Sat, 14 Sep 2019 18:21:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=gUcP+Ut1GFqQ8Fs+9CWNNVL0jzUSfiA1kqIOWxXhQPk=; b=hWKZPdUazpZjrVteRreAqPzxJSU8ySuzC4KJ8dvOqX/yRTMcY1uBP4sy1+8dLdffyU Pxbj2g4skUT9CbApCK/5S93b3ypdmlhVPjV/zmNRY/SRi9Z6pvi9b8mjVbAW8goM03UZ PI2uLfJOx/VkRbnGlIpqzpxL6I1Q5O6K8Xwk2Z06KDAazr11ovsGeOGxqLLG2588loNz T6Z6JeXwja5fA9nmFkfKCbllSxyUBnhwsZ0N22cbZJbSj98YOOeLvyaasJU7wh7EWfht AWaiXIbTTCKxuGJHr91YIpZ6bqIrS9zPbfZWFDkU7Jot51JVrVxLntwyJpCOjQkpkbwU lg1w== X-Gm-Message-State: APjAAAXXuXFKNAwd8za+Fid+eK/NfwbXahzsnetM0Oym0r67WtEL2C5n Tp0322JKvDn11AXwvlD9W60wo+XvnpJQFACqmAM= X-Google-Smtp-Source: APXvYqzVpJepm0R2L+LKgTVU3GZ3TEUL+Qf/WNl1txCohrGiiST1UVXGWQo3Z/r0h2ZliNX5EKhH8Cmj58h34EYgGMo= X-Received: by 2002:a63:ef4d:: with SMTP id c13mr13374423pgk.200.1568510491296; Sat, 14 Sep 2019 18:21:31 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Sun, 15 Sep 2019 03:21:20 +0200 Message-ID: Subject: Re: bug#25488: 25.1; gdb package interpreter problem To: Sergio Durigan Junior Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25488 Cc: "yates@ieee.org" , Glenn Morris , 25488@debbugs.gnu.org, Randy Yates X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Sergio Durigan Junior writes: > On Friday, January 20 2017, Glenn Morris wrote: > >>> 1. configure remote system by running "gdbserver --multi localhost:" >>> >>> 2. on host system, run emacs, then "M-x gdb -i=mi" >>> >>> 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. >> >> >> Confirmed on rhel 7. >> >> This seems to be due to the " " in: >> >> (concat gdb-continuation string " ") >> >> in gdb-send, which was added in bug#14847. I've cc'd the author of that change. > > Heh, I helped the reporter diagnose this issue, and as it turns out I > was the culprit! > > Thanks for the report, I'll take a look at this later today. Hi Sergio, I see that the latest update here was in January 2017. Did you ever get a chance to look into this issue? Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 16 09:32:30 2019 Received: (at 25488) by debbugs.gnu.org; 16 Sep 2019 13:32:31 +0000 Received: from localhost ([127.0.0.1]:49434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9r7G-0003TK-HZ for submit@debbugs.gnu.org; Mon, 16 Sep 2019 09:32:30 -0400 Received: from kwanyin.sergiodj.net ([158.69.185.54]:50054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9r7E-0003TA-D9 for 25488@debbugs.gnu.org; Mon, 16 Sep 2019 09:32:28 -0400 From: Sergio Durigan Junior To: Stefan Kangas Subject: Re: bug#25488: 25.1; gdb package interpreter problem References: X-URL: http://blog.sergiodj.net Date: Mon, 16 Sep 2019 09:32:27 -0400 In-Reply-To: (Stefan Kangas's message of "Sun, 15 Sep 2019 03:21:20 +0200") Message-ID: <87impsnz84.fsf@paluero> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25488 Cc: "yates@ieee.org" , Glenn Morris , 25488@debbugs.gnu.org, Randy Yates X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Saturday, September 14 2019, Stefan Kangas wrote: > Sergio Durigan Junior writes: > >> On Friday, January 20 2017, Glenn Morris wrote: >> >>>> 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. >>> >>> >>> Confirmed on rhel 7. >>> >>> This seems to be due to the " " in: >>> >>> (concat gdb-continuation string " ") >>> >>> in gdb-send, which was added in bug#14847. I've cc'd the author of that= change. >> >> Heh, I helped the reporter diagnose this issue, and as it turns out I >> was the culprit! >> >> Thanks for the report, I'll take a look at this later today. > > Hi Sergio, > > I see that the latest update here was in January 2017. Did you ever get > a chance to look into this issue? Wow, what a strange concept of "later today"! Sorry about that. Yeah, I had the chance to look into it, and even though I don't remember the details now, I have a patch here that seems to work for me. I'm attaching it to this message; can you check if it fixes the problem for you, please? It seems strange that the extra whitespace was added by mistake there. I'm a bit afraid that there is a case which I haven't envisioned and which requires that whitespace, but I couldn't come up with a testing scenario that triggers the error. I tested this by debugging a binary with and without arguments (i.e., "/bin/true" and "/bin/true --help"), and both worked fine. Thanks, =2D-=20 Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/ From=20cad0deb10f2dbdc7b3dd7d3c6f4347da9cb1f557 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sun, 15 Sep 2019 14:50:17 -0400 Subject: [PATCH] [gdb-mi.el] Don't add trailing whitespace when passing argument to GDB This fixes bug #25488. * lisp/progmodes/gdb-mi.el (gdb-send): Don't append whitespace to 'gdb-continuation'. =2D-- lisp/progmodes/gdb-mi.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 48c7dde9f51..cf54207337d 100644 =2D-- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el @@ -1827,7 +1827,7 @@ gdb-send " ")) (setq gdb-first-done-or-error t) (let ((to-send (concat "-interpreter-exec console " =2D (gdb-mi-quote (concat gdb-continuation stri= ng " ")) + (gdb-mi-quote (concat gdb-continuation string= )) "\n"))) (if gdb-enable-debug (push (cons 'mi-send to-send) gdb-debug-log)) =2D-=20 2.20.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEI3pUsQKHKL8A7zH00Ot2KGX8XjYFAl1/jusACgkQ0Ot2KGX8 XjbLsw//T3gspOT9LI7uw4Zddi0hypLf1JqwRo05C3VOqTSIHexdiC8wWlza3pxt 2fQF8jyjteacPWmdriRU2+bRfwtzQOU9ApLHC+wDaICD1lXZWvvC+5k/oKagQh5s cp5F665Y3iiPhuDBtxrTWbP1UyxtSVAEkB51hHxOQ1tfxRncnZdrM/nWleUPkcyG 7qF6ymqgs23CgxTAcp6+YiawbertTEMPnAeBGsVcR5W9IRGhc0n7c2XmQ0H8jZuv /k882rBbeQH1Qr52xaUpAi5Ef1CsOQKm4vSljaz2CbW/kGIltxR4K08Ak5q7NsR0 PpBPpnfs6SEuiOnp7t4ikuRw9bg+UA3iUWpffxC9lZi+71paTjCNoz3VP/8GVRJ0 wK6RzW6IaqAAtWCqME1sI0baq+tvSyuYr7rgRwJG7vLuazdKnhv0w9XlNQ2NpPao G+l33dntttDts88bUksjpYfjEcJYrXRPKgtX+SYZfRKdzuqV+jcuafl1hqy/RZp2 anMiy5JgwT3hQX0cKUJLs19uxE5ChHJmFFwhvUOc0iDiA8sO8S0flZSwQ2ZOMMIL Boe0V7UriI5Ur/Y1Tm5WkUt+M/1TNOQW8WY9gHZk0v4eBDL9l9wTI6kelChfCMjx UnnMwG4j8xJmz2wM29mNA6IDDHdok1DTRV93icsJNF0N7GjhN/o= =lCKP -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 16 09:44:58 2019 Received: (at 25488) by debbugs.gnu.org; 16 Sep 2019 13:44:58 +0000 Received: from localhost ([127.0.0.1]:49444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9rJK-0003mx-41 for submit@debbugs.gnu.org; Mon, 16 Sep 2019 09:44:58 -0400 Received: from mail-pf1-f172.google.com ([209.85.210.172]:37739) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i9rJH-0003mW-Ik for 25488@debbugs.gnu.org; Mon, 16 Sep 2019 09:44:56 -0400 Received: by mail-pf1-f172.google.com with SMTP id y5so20289519pfo.4 for <25488@debbugs.gnu.org>; Mon, 16 Sep 2019 06:44:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1Iz7Y2WVoWEwCmlTZ7E0W63tGcuj4U+FOxckMTiOUug=; b=DsuYuqo3jzKPnsUvKy8qf3Sp3ggAMJrRtMJTIrbEyEpijNkzUYJj89lEzyuKHDvHYz lX3SU47vP8XCIM2zE/Q3B2POMnIWwSlPxGgVwcRw4KN21uekhOFWRA/Ucr8mB44YDbFq ru9c5HkJIhZtR9C3R31jql+keAqjm/lPIjSMjHINA21ZriYPUf0t0r8KV7buaUYN/PTV ShaylzJiN3CGLm+NX0HRPQLkMZJKjKKNrz9KO/3Ol4WzclFGzgsOctS6QfdH34L2+utX z4FsR0RwruiVBm0exNtjatHk46cbkjcvjPBcXmpxFz8rKAtKiOSATpaiZ+JMptWjAhPK ZrDw== X-Gm-Message-State: APjAAAVZCFltl31nWNdMQGo3QdUyv4kmbrbrn2jEiaON2NDK3LFwAjcI Z2MCbm0SBOVDe/lkLKNRkoOaZP4SAQ8lvuEjm6U= X-Google-Smtp-Source: APXvYqxOqd0onKYl8btyJas9TC/wDSQZ9IdOzc0ibsCZy2KZt8wow+WAlkPTiKs1a9v+uKXu0RrxIY5q9KwPtyDzMB4= X-Received: by 2002:a17:90a:17ab:: with SMTP id q40mr90747pja.106.1568641489710; Mon, 16 Sep 2019 06:44:49 -0700 (PDT) MIME-Version: 1.0 References: <87impsnz84.fsf@paluero> In-Reply-To: <87impsnz84.fsf@paluero> From: Stefan Kangas Date: Mon, 16 Sep 2019 15:44:36 +0200 Message-ID: Subject: Re: bug#25488: 25.1; gdb package interpreter problem To: Sergio Durigan Junior Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 25488 Cc: "yates@ieee.org" , Glenn Morris , 25488@debbugs.gnu.org, Randy Yates X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 25488 + patch quit Sergio Durigan Junior writes: > Yeah, I had the chance to look into it, and even though I don't remember > the details now, I have a patch here that seems to work for me. I'm > attaching it to this message; can you check if it fixes the problem for > you, please? Thanks for reporting back and providing a patch. Could someone more familiar with this code please help test and review this? Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 23 09:03:34 2019 Received: (at 25488) by debbugs.gnu.org; 23 Sep 2019 13:03:34 +0000 Received: from localhost ([127.0.0.1]:35320 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCO05-0001lQ-Oi for submit@debbugs.gnu.org; Mon, 23 Sep 2019 09:03:33 -0400 Received: from mail-io1-f45.google.com ([209.85.166.45]:46093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCO04-0001l7-0C for 25488@debbugs.gnu.org; Mon, 23 Sep 2019 09:03:32 -0400 Received: by mail-io1-f45.google.com with SMTP id c6so19963711ioo.13 for <25488@debbugs.gnu.org>; Mon, 23 Sep 2019 06:03:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Z9O7sFOhrVXfNgefvpoFtmb0KUNUvdknwtQ7K1aGsfM=; b=MiSYIEUJKL12OfFgnp58CFUs9gV6LIMv2apyaHdIJvS7Z3zOLTsm3wYdu2VSDf7eBy lTIBoa+vJGOhStWHWA1T8gPMJmDiwua08jjpz5McLpb0+ZebkHnj5fYcrA1f/3Cm/sWa MpuoZFMsJf7PZGwhJaJUAXlMDPeOewJtCTb3sqxN77F/dLfVZ7SS++Jql6sACLsVCFvF ddHf/ASZQaW24RRBBgADCkEr5OZiwZljAJqncKFIJ4Atlpz6EV5f/C9HtowV6ImAf+aU TpAh2XamHkvEV8blvmtndDRTJvmFOJ9ELSOqpHx4JxiVB/MznYC+dUw+/LHXLCOcuV8b TL6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Z9O7sFOhrVXfNgefvpoFtmb0KUNUvdknwtQ7K1aGsfM=; b=UaQdNeDkiQsNUa1abgTaNdM2L0sCu9GwWZEVP4NLChm8ss/rU3MGym80z6tnnJqSfv ye+yP4WFLlYAtbCBWXITD2/S8K7LkaKWPuOIVhWcu9rIUmDL70UMkC1V/kQFr8m+TYnz RTWkiOSONrxdUG/urUr3H5t9VH+9UnCLtKKgaWE669h4hgX/jhbOdBlNIDHXtI8O0IDb oDidTZuLky0U76KNOIEtlA9XbnqznMZWPKok74Y7MtHUpmdjKmajr2aENjQCxM7iH8Rv mrr+h/j0XAbU2UH5RAGATld9k5RjvfxyjP1CEq19Vqm404nZYI2aJzZ8Viob9Y9fVTLp SBJA== X-Gm-Message-State: APjAAAXwfpfLNTsZQGOzUnhlZyTg2qWrsr3/XrPuxeqzTXrxMx4KFF8J B1sSfkK7KGyH+yAJxEMNQkU= X-Google-Smtp-Source: APXvYqwWpBh7cdIATXeC76P47Qpk/u5T42JuN9NZNY8ehW6D1rQU/nU+sL96lB9/BgvdAtWLtzcC7A== X-Received: by 2002:a6b:f319:: with SMTP id m25mr22770598ioh.33.1569243806521; Mon, 23 Sep 2019 06:03:26 -0700 (PDT) Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id x12sm9424671ioh.76.2019.09.23.06.03.25 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Sep 2019 06:03:25 -0700 (PDT) From: Noam Postavsky To: Sergio Durigan Junior Subject: Re: bug#25488: 25.1; gdb package interpreter problem References: <87impsnz84.fsf@paluero> Date: Mon, 23 Sep 2019 09:03:24 -0400 In-Reply-To: <87impsnz84.fsf@paluero> (Sergio Durigan Junior's message of "Mon, 16 Sep 2019 09:32:27 -0400") Message-ID: <87sgon88rn.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25488 Cc: "yates@ieee.org" , Glenn Morris , 25488@debbugs.gnu.org, Randy Yates , Stefan Kangas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Sergio Durigan Junior writes: > >> Yeah, I had the chance to look into it, and even though I don't remember >> the details now, I have a patch here that seems to work for me. I'm >> attaching it to this message; can you check if it fixes the problem for >> you, please? >> >> It seems strange that the extra whitespace was added by mistake there. >> I'm a bit afraid that there is a case which I haven't envisioned and >> which requires that whitespace, but I couldn't come up with a testing >> scenario that triggers the error. I tested this by debugging a binary >> with and without arguments (i.e., "/bin/true" and "/bin/true --help"), >> and both worked fine. > Thanks for reporting back and providing a patch. Could someone more > familiar with this code please help test and review this? I'm not very familiar with the code, but looking around, it seems quite likely that the extra " " was just due to a copy paste error. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 23 09:19:22 2019 Received: (at 25488) by debbugs.gnu.org; 23 Sep 2019 13:19:23 +0000 Received: from localhost ([127.0.0.1]:35331 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCOFM-0002FG-7R for submit@debbugs.gnu.org; Mon, 23 Sep 2019 09:19:22 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:44168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCOFK-0002Ez-4B for 25488@debbugs.gnu.org; Mon, 23 Sep 2019 09:19:18 -0400 Received: by mail-ot1-f68.google.com with SMTP id 21so12006734otj.11 for <25488@debbugs.gnu.org>; Mon, 23 Sep 2019 06:19:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QZcQV8ixcTr2aIowCHpQHp8D4laj9wgOMhVJ6k6lKZM=; b=Or6nVYDTX9N2QyTOuLiqZIzPrXUqsEZFRMDuwtDzzVb41/YWPXRKHqf7uy1NvHcE2b xYVjIlEfKpmJ9tBDwRX0pSIAJKeWrpztPHpy5snKrcfj554pP1MRO+Ljelou9uMt1/CF lLqwOqnrqVIuptVPFMoWQZmDZgs8P8RRld83lrAbVqNyxG4J6Jr9t9f6obwI46ijKqi6 9MFvKsz6aSNIKiWeGYzeAcnbYrfwr0mtwulK/osGFvNdtI7vhqz6pyeKqW1RkxO52Dt/ +CkIMMk7Uxe+zENBtld3WAL6J73neNnUZeAE0g55mVWkqsH8nOBBp9OOVxlyzVmrwahL ZZSQ== X-Gm-Message-State: APjAAAW79ofctbRaX5Eqm1dGMSCakQ5TfZgDaza30pSP1tPAhurR70KY 1XW4cWM0BrGpqQyPj7oFimDRv/VJB8o1Ros0AAM= X-Google-Smtp-Source: APXvYqww5b4hCA4XdxK3Jkx9bGVJrokhNLH0ta3Nrs8z6hQ6huQgd4yBrCpQEVo0OUjTK6nXadi1lA1NGBvYHbWsJYk= X-Received: by 2002:a9d:7851:: with SMTP id c17mr22132207otm.55.1569244752511; Mon, 23 Sep 2019 06:19:12 -0700 (PDT) MIME-Version: 1.0 References: <87impsnz84.fsf@paluero> <87sgon88rn.fsf@gmail.com> In-Reply-To: <87sgon88rn.fsf@gmail.com> From: Stefan Kangas Date: Mon, 23 Sep 2019 15:18:56 +0200 Message-ID: Subject: Re: bug#25488: 25.1; gdb package interpreter problem To: Noam Postavsky Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 25488 Cc: "yates@ieee.org" , Glenn Morris , 25488@debbugs.gnu.org, Randy Yates , Sergio Durigan Junior X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Noam Postavsky writes: > > Sergio Durigan Junior writes: > > > >> Yeah, I had the chance to look into it, and even though I don't remember > >> the details now, I have a patch here that seems to work for me. I'm > >> attaching it to this message; can you check if it fixes the problem for > >> you, please? > >> > >> It seems strange that the extra whitespace was added by mistake there. > >> I'm a bit afraid that there is a case which I haven't envisioned and > >> which requires that whitespace, but I couldn't come up with a testing > >> scenario that triggers the error. I tested this by debugging a binary > >> with and without arguments (i.e., "/bin/true" and "/bin/true --help"), > >> and both worked fine. > > > Thanks for reporting back and providing a patch. Could someone more > > familiar with this code please help test and review this? > > I'm not very familiar with the code, but looking around, it seems quite > likely that the extra " " was just due to a copy paste error. Thanks. Sergio has also tested this, and it worked for him. If no one objects perhaps we could go ahead and install his patch. I'm assuming that we have his assignment on file since his contributions already seem to exceed the 15 line limit for trivial changes. Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 23 12:19:51 2019 Received: (at 25488) by debbugs.gnu.org; 23 Sep 2019 16:19:51 +0000 Received: from localhost ([127.0.0.1]:36871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCR3y-0000aT-UR for submit@debbugs.gnu.org; Mon, 23 Sep 2019 12:19:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iCR3w-0000aE-14 for 25488@debbugs.gnu.org; Mon, 23 Sep 2019 12:19:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iCR3p-0007l5-0r; Mon, 23 Sep 2019 12:19:37 -0400 Received: from [176.228.60.248] (port=2546 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iCR3n-0008Vp-8Q; Mon, 23 Sep 2019 12:19:35 -0400 Date: Mon, 23 Sep 2019 19:19:28 +0300 Message-Id: <83ftknoui7.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-reply-to: (message from Stefan Kangas on Mon, 23 Sep 2019 15:18:56 +0200) Subject: Re: bug#25488: 25.1; gdb package interpreter problem References: <87impsnz84.fsf@paluero> <87sgon88rn.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 25488 Cc: yates@ieee.org, 25488@debbugs.gnu.org, randyy@garnerundergroundinc.com, sergiodj@sergiodj.net, npostavs@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Mon, 23 Sep 2019 15:18:56 +0200 > Cc: "yates@ieee.org" , 25488@debbugs.gnu.org, > Randy Yates , > Sergio Durigan Junior > > I'm assuming that we have his assignment on file We do. From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 02 09:12:59 2019 Received: (at 25488) by debbugs.gnu.org; 2 Oct 2019 13:12:59 +0000 Received: from localhost ([127.0.0.1]:35701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFeR9-00035F-Ez for submit@debbugs.gnu.org; Wed, 02 Oct 2019 09:12:59 -0400 Received: from mail-pf1-f170.google.com ([209.85.210.170]:34501) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFeR7-00034u-HO for 25488@debbugs.gnu.org; Wed, 02 Oct 2019 09:12:57 -0400 Received: by mail-pf1-f170.google.com with SMTP id b128so10321202pfa.1 for <25488@debbugs.gnu.org>; Wed, 02 Oct 2019 06:12:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O5sNeeGv8rIh3z7JO4bptS+Y+fBqiPINVWnKFKmpDg0=; b=uA8K33pyuSkVBD5kaaCbxYhvSbtAxKaHwE4VfZJZklSGP2w+G8hO9s+YYRZqVpmDAk FbZb25U2BzcJP13WqN/Ivtlvv+EF6H4dVvs4H2CyZ4lX/IUCuSUaUnKjcTei+gDjP13w RiPr1WXmcMr1ojOaH7SHkVyvEVLPOxrgttb1Oh0vmB8VY/LK1HoEFEReGttFgIQ7XKdZ FSeofbFBsfx18bw4FkJUfxFaKUS0i9zuLV0j+o7WUw/z6OVXmaoNE256P95kBNPerdLa Xo0/mKbS2SZ78Mze9s+wcahbBdgJOmjwfP1RES3ifTT77mU8v4JwireQnfjWCJtdvBu3 Ztdg== X-Gm-Message-State: APjAAAWJZ7B3mIxSHxQLG1ERxN8ldOwRmiHhMv7JW8NQbwfGhPKXgE2n 0nOQXBi7OCT3/dXpaYnY8q8ja8xcJ1v0FmE+mXQ= X-Google-Smtp-Source: APXvYqy7NL398Lkpz0KR0Pl2sI42N5R0pWH+huPxLjBRjVKNdQFYCQGd6/w1ON//TmsspobcVitQUt/RNaXd3rBpwWw= X-Received: by 2002:a17:90a:1150:: with SMTP id d16mr4397980pje.2.1570021971754; Wed, 02 Oct 2019 06:12:51 -0700 (PDT) MIME-Version: 1.0 References: <87impsnz84.fsf@paluero> <87sgon88rn.fsf@gmail.com> In-Reply-To: From: Stefan Kangas Date: Wed, 2 Oct 2019 15:12:39 +0200 Message-ID: Subject: Re: bug#25488: 25.1; gdb package interpreter problem To: Noam Postavsky Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 25488 Cc: "yates@ieee.org" , Glenn Morris , 25488@debbugs.gnu.org, Randy Yates , Sergio Durigan Junior X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) close 25488 27.1 quit > Thanks. Sergio has also tested this, and it worked for him. If no > one objects perhaps we could go ahead and install his patch. No objections in 9 days, so I've now pushed this as commit 77207ca841. Closing. Best regards, Stefan Kangas From unknown Wed Jun 18 23:18:23 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 31 Oct 2019 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator