From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#25488: 25.1; gdb package interpreter problem Date: Mon, 23 Sep 2019 09:03:24 -0400 Message-ID: <87sgon88rn.fsf@gmail.com> References: <87impsnz84.fsf@paluero> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="126092"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) Cc: "yates@ieee.org" , 25488@debbugs.gnu.org, Randy Yates , Stefan Kangas To: Sergio Durigan Junior Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 23 15:05:02 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 1iCO1V-000WcZ-AF for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Sep 2019 15:05:01 +0200 Original-Received: from localhost ([::1]:56290 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCO1T-00052d-Jm for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Sep 2019 09:04:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53700) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCO0e-0004Gf-A9 for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 09:04:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iCO0c-0004CK-3D for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 09:04:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54732) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iCO0Y-0004Bo-If for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 09:04:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iCO0Y-0001mI-Ad for bug-gnu-emacs@gnu.org; Mon, 23 Sep 2019 09:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Sep 2019 13:04: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.15692438146788 (code B ref 25488); Mon, 23 Sep 2019 13:04:02 +0000 Original-Received: (at 25488) by debbugs.gnu.org; 23 Sep 2019 13:03:34 +0000 Original-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 Original-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 Original-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) Original-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) In-Reply-To: <87impsnz84.fsf@paluero> (Sergio Durigan Junior's message of "Mon, 16 Sep 2019 09:32:27 -0400") 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:166994 Archived-At: > 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.