From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#25488: 25.1; gdb package interpreter problem Date: Mon, 23 Sep 2019 15:18:56 +0200 Message-ID: References: <87impsnz84.fsf@paluero> <87sgon88rn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="193748"; mail-complaints-to="usenet@blaine.gmane.org" Cc: "yates@ieee.org" , 25488@debbugs.gnu.org, Randy Yates , Sergio Durigan Junior To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 23 15:20:42 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iCOGg-000oHC-KN for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Sep 2019 15:20:42 +0200 Original-Received: from localhost ([::1]:56464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCOGe-0000Du-Tt for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Sep 2019 09:20:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56359) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCOG3-0000Au-HX for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 09:20:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCOG2-00032T-Fw for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 09:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54743) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCOG2-00032M-Cy for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 09:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCOG2-0002GZ-7F for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 09:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Sep 2019 13:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25488 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed patch Original-Received: via spool by 25488-submit@debbugs.gnu.org id=B25488.15692447638643 (code B ref 25488); Mon, 23 Sep 2019 13:20:02 +0000 Original-Received: (at 25488) by debbugs.gnu.org; 23 Sep 2019 13:19:23 +0000 Original-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 Original-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 Original-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) In-Reply-To: <87sgon88rn.fsf@gmail.com> 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: 209.51.188.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:166995 Archived-At: 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