GNU bug report logs - #61162
30.0.50; RET in source files that are being displayed by gud no longer works

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Michael Welsh Duggan <mwd@HIDDEN>; merged with #61271, #62041; dated Mon, 30 Jan 2023 02:09:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Merged 61162 61271 62041. Request was from Stefan Monnier <monnier@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 61162 61271. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 61162 <at> debbugs.gnu.org:


Received: (at 61162) by debbugs.gnu.org; 1 Feb 2023 17:00:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 01 12:00:08 2023
Received: from localhost ([127.0.0.1]:59724 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pNGSu-00049d-3k
	for submit <at> debbugs.gnu.org; Wed, 01 Feb 2023 12:00:08 -0500
Received: from eggs.gnu.org ([209.51.188.92]:39940)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pNGSo-00047O-PW
 for 61162 <at> debbugs.gnu.org; Wed, 01 Feb 2023 12:00:06 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pNGSj-0001ZC-Ip; Wed, 01 Feb 2023 11:59:57 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=vrBoT1nJfsBYNSiO5uV08mnLpWn04YAGqDQArQs1Iws=; b=U8W0XAPboQlL
 Tv7GXWGWJdZQ67lYOksMQgQob7rKSrtOHBZC4dLqjWJ5ao2WvrQAHlYivpn4oJDkysMpj8pnNxplx
 GLelPFSEQ4zIDqNjk5VexkK1KmOhXi6qHhMpfATMjknhs9uEgY7Pw4Rap+sPV9dBbr8Tsduan8uWS
 6Yw646s6mnjHlVsPeRzKswVtqQVusub9/EsVkAsOIQ8YGEj+ld7IlVHDkH7uEEy2E2AJ0ojzdnCcx
 DmfLQRRa+duIYJI264XgrGCzhDx3XlChvWBO4Y4zTyi52EVNkQRQ5p4BhwGpyiONFspFJiA035Rph
 dgI0fCDXJY+6aIW6eB8dBg==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pNGSj-00082F-2U; Wed, 01 Feb 2023 11:59:57 -0500
Date: Wed, 01 Feb 2023 18:59:56 +0200
Message-Id: <83r0v9z5gz.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Michael Welsh Duggan <mwd@HIDDEN>
In-Reply-To: <87edr9qwz8.fsf@HIDDEN> (message from Michael Welsh Duggan on
 Wed, 01 Feb 2023 09:30:35 -0500)
Subject: Re: bug#61162: 30.0.50; RET in source files that are being
 displayed by gud no longer works
References: <87fsbssrk1.fsf@HIDDEN> <87y1piqzsv.fsf@HIDDEN>
 <83ilgm1nw6.fsf@HIDDEN> <87sffqqwzc.fsf@HIDDEN>
 <83y1phzfqa.fsf@HIDDEN> <87edr9qwz8.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 61162
Cc: 61162 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Welsh Duggan <mwd@HIDDEN>
> Cc: Michael Welsh Duggan <mwd@HIDDEN>,  61162 <at> debbugs.gnu.org
> Date: Wed, 01 Feb 2023 09:30:35 -0500
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> > This is no longer the case, if it ever was.  What exactly didn't work
> > for you when you tried several simultaneous sessions?  The buffer
> > where you type GDB commands is named "*gud-PROGRAM*", so you have
> > separate buffers for different sessions.  And if you start each one
> > from a separate Emacs frame, you should be able to have separate
> > multi-window configurations (see gdb-many-windows) for each session.
> 
> Ah, I remember now.  It was the ability to debug the same program twice
> at once that was lacking.  I haven't needed that ability recently.  (I
> needed it in the past when dealing with a program that connected to
> other instances of itself.)

Are you sure you cannot have this if you manually rename one of the
GUD buffers?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61162; Package emacs. Full text available.

Message received at 61162 <at> debbugs.gnu.org:


Received: (at 61162) by debbugs.gnu.org; 1 Feb 2023 14:30:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 01 09:30:46 2023
Received: from localhost ([127.0.0.1]:56939 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pNE8M-0007oJ-BK
	for submit <at> debbugs.gnu.org; Wed, 01 Feb 2023 09:30:46 -0500
Received: from md5i.com ([75.151.244.229]:38330)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mwd@HIDDEN>) id 1pNE8I-0007o0-4b
 for 61162 <at> debbugs.gnu.org; Wed, 01 Feb 2023 09:30:44 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com;
 s=dkim; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:
 Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=q43aBWwXS9svEWEiTB7Y3zfM9FohfSkkGAmi7P0vgDc=; b=bt6NGMSx6qjpOUJri4Cm3SBlIp
 kwqn0tleW8iEwJceS0mD5cR/yFzFaj+v2yPt7EJDY2M3TLZjMJZhb8xyVSXtbDK115BUr1maARHS2
 43aDWcZ60J5lsmBjMFYNYrq4I;
Received: from abode ([192.168.177.1]:59264 helo=miko)
 by md5i.com with esmtpsa  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
 (Exim 4.96) (envelope-from <mwd@HIDDEN>) id 1pNE8B-00EIlg-1O;
 Wed, 01 Feb 2023 09:30:35 -0500
From: Michael Welsh Duggan <mwd@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#61162: 30.0.50; RET in source files that are being
 displayed by gud no longer works
In-Reply-To: <83y1phzfqa.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 01 Feb
 2023 15:18:21 +0200")
References: <87fsbssrk1.fsf@HIDDEN> <87y1piqzsv.fsf@HIDDEN>
 <83ilgm1nw6.fsf@HIDDEN> <87sffqqwzc.fsf@HIDDEN>
 <83y1phzfqa.fsf@HIDDEN>
Date: Wed, 01 Feb 2023 09:30:35 -0500
Message-ID: <87edr9qwz8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 61162
Cc: Michael Welsh Duggan <mwd@HIDDEN>, 61162 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Michael Welsh Duggan <mwd@HIDDEN>
>> Cc: Michael Welsh Duggan <mwd@HIDDEN>,  61162 <at> debbugs.gnu.org
>> Date: Tue, 31 Jan 2023 15:18:15 -0500
>> 
>> > If you can find a fix on master, patches would be very welcome.
>> > Failing that, I might eventually decide to revert that commit on
>> > master as well.  There's a limit to the efforts I'm prepared to sink
>> > into maintaining what is basically an obsolete package which uses a
>> > GDB feature that GDB developers consider obsolete and may remove any
>> > day (why don't you use "M-x gdb" instead?).
>> 
>> I always use "M-x gud-gdb" because, historically, "M-x gdb" didn't
>> support multiple simultaneous gdb sessions.  If this is no longer the
>> case, I will see if I can change my habits.
>
> This is no longer the case, if it ever was.  What exactly didn't work
> for you when you tried several simultaneous sessions?  The buffer
> where you type GDB commands is named "*gud-PROGRAM*", so you have
> separate buffers for different sessions.  And if you start each one
> from a separate Emacs frame, you should be able to have separate
> multi-window configurations (see gdb-many-windows) for each session.

Ah, I remember now.  It was the ability to debug the same program twice
at once that was lacking.  I haven't needed that ability recently.  (I
needed it in the past when dealing with a program that connected to
other instances of itself.)

-- 
Michael Welsh Duggan
(md5i@HIDDEN)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61162; Package emacs. Full text available.

Message received at 61162 <at> debbugs.gnu.org:


Received: (at 61162) by debbugs.gnu.org; 1 Feb 2023 13:18:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 01 08:18:32 2023
Received: from localhost ([127.0.0.1]:56848 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pND0S-0005w8-HG
	for submit <at> debbugs.gnu.org; Wed, 01 Feb 2023 08:18:32 -0500
Received: from eggs.gnu.org ([209.51.188.92]:36520)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pND0R-0005vt-3G
 for 61162 <at> debbugs.gnu.org; Wed, 01 Feb 2023 08:18:31 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pND0K-0003P7-9W; Wed, 01 Feb 2023 08:18:25 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=nRJwcd9JxoN2h+auPDwADhQnKa0oSYt73l6IyGSZPM4=; b=m5+Wv+1+tloB
 Tmtef4miRpNgCNt3fK7u66svZ/rVMhw6zxc8PrNFvmHukCOg7xZhZYoPJ5YSsrVHSrjHquG24GkBE
 pcxr0c3wTncgttsXI+pXofb7evFpnPd617alh5Q3gRneyAXXKb1lOvpsJRhQ8G3fOANxEnJNQUNUJ
 s4Sm5lWSUP/7psMMt6bRdMzlxPz1dbQrbQULO8v0GaJp6xoCqAROWvnbpShBnQRe24wsjEDrGe4hA
 L+iX1EfOgAaGORW5hKxgPycAzr4oxlkh/QKzYN3RDDD5uWFYgAfprkT8pmAadMm3faG5fWLwQaCSL
 Y41rT37nKn8V8q93H+TdJA==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pND0J-0005CP-Ej; Wed, 01 Feb 2023 08:18:23 -0500
Date: Wed, 01 Feb 2023 15:18:21 +0200
Message-Id: <83y1phzfqa.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Michael Welsh Duggan <mwd@HIDDEN>
In-Reply-To: <87sffqqwzc.fsf@HIDDEN> (message from Michael Welsh Duggan on
 Tue, 31 Jan 2023 15:18:15 -0500)
Subject: Re: bug#61162: 30.0.50; RET in source files that are being
 displayed by gud no longer works
References: <87fsbssrk1.fsf@HIDDEN> <87y1piqzsv.fsf@HIDDEN>
 <83ilgm1nw6.fsf@HIDDEN> <87sffqqwzc.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 61162
Cc: 61162 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Welsh Duggan <mwd@HIDDEN>
> Cc: Michael Welsh Duggan <mwd@HIDDEN>,  61162 <at> debbugs.gnu.org
> Date: Tue, 31 Jan 2023 15:18:15 -0500
> 
> > If you can find a fix on master, patches would be very welcome.
> > Failing that, I might eventually decide to revert that commit on
> > master as well.  There's a limit to the efforts I'm prepared to sink
> > into maintaining what is basically an obsolete package which uses a
> > GDB feature that GDB developers consider obsolete and may remove any
> > day (why don't you use "M-x gdb" instead?).
> 
> I always use "M-x gud-gdb" because, historically, "M-x gdb" didn't
> support multiple simultaneous gdb sessions.  If this is no longer the
> case, I will see if I can change my habits.

This is no longer the case, if it ever was.  What exactly didn't work
for you when you tried several simultaneous sessions?  The buffer
where you type GDB commands is named "*gud-PROGRAM*", so you have
separate buffers for different sessions.  And if you start each one
from a separate Emacs frame, you should be able to have separate
multi-window configurations (see gdb-many-windows) for each session.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61162; Package emacs. Full text available.

Message received at 61162 <at> debbugs.gnu.org:


Received: (at 61162) by debbugs.gnu.org; 31 Jan 2023 20:18:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 31 15:18:26 2023
Received: from localhost ([127.0.0.1]:55110 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pMx5G-00021u-47
	for submit <at> debbugs.gnu.org; Tue, 31 Jan 2023 15:18:26 -0500
Received: from md5i.com ([75.151.244.229]:59142)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mwd@HIDDEN>) id 1pMx5B-00021Z-VG
 for 61162 <at> debbugs.gnu.org; Tue, 31 Jan 2023 15:18:24 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com;
 s=dkim; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:
 Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=glMgPwZVAetPptfpESc3v63ZQepd7rfVqRMwi+aWhNA=; b=of9CSpI57CfSbOgPyKjw376SBz
 +un2IgU5fl72cO3m0wvFPzALwE+40tfvJSnLLeOps52IIr8Zby+NXUzexvOnn4yDkYYfZC5ubWycm
 HZsUkNWwopH05nqoz6KYoMwXx;
Received: from abode ([192.168.177.1]:57684 helo=miko)
 by md5i.com with esmtpsa  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
 (Exim 4.96) (envelope-from <mwd@HIDDEN>) id 1pMx55-00EFVG-2N;
 Tue, 31 Jan 2023 15:18:15 -0500
From: Michael Welsh Duggan <mwd@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#61162: 30.0.50; RET in source files that are being
 displayed by gud no longer works
In-Reply-To: <83ilgm1nw6.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 31 Jan
 2023 21:53:45 +0200")
References: <87fsbssrk1.fsf@HIDDEN> <87y1piqzsv.fsf@HIDDEN>
 <83ilgm1nw6.fsf@HIDDEN>
Date: Tue, 31 Jan 2023 15:18:15 -0500
Message-ID: <87sffqqwzc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 61162
Cc: Michael Welsh Duggan <mwd@HIDDEN>, 61162 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

>> From: Michael Welsh Duggan <mwd@HIDDEN>
>> Date: Tue, 31 Jan 2023 14:17:20 -0500
>> 
>> Michael Welsh Duggan <mwd@HIDDEN> writes:
>> 
>> > Create a trivial C program.  Here's a good example:
>> >
>> >     int main()
>> >     {
>> >       return 0;
>> >     }
>> >
>> > Save it as foo.c, and compile it with debugging:
>> >
>> >     gcc -ggdb3 -o foo foo.c
>> >
>> > From emacs -Q, start gdb on foo:
>> >
>> >     M-x gud-gdb RET 
>> >
>> > In my case, since foo is the only executable in the dir, the command
>> > line for gdb is already set up correctly as:
>> >
>> >     gdb --fullname foo
>> >
>> > Hit RET.  You should be at the gdb prompt.  Start the program:
>> >
>> >     start RET
>> >
>> > You should now get another window with foo.c in it for context.  Switch
>> > to that buffer and type RET.
>> >
>> >     C-x o
>> >     RET
>> >
>> > In my case, I get:
>> >
>> >     comint-send-input: Current buffer has no process
>> >
>> > This is new and broken behavior.  The expected behavior is that a
>> > newline is inserted in the buffer.
>> 
>> This appears to be caused by commit
>> a7b0b20c1bc758fa99fda96d06a266868aec3eea, which was supposed to fix
>> Bug#59605.
>
> This current problem is part of fallout from commit 8bb5c1bfec.  That
> commit was reverted on the emacs-29 branch, as it caused too much
> trouble.  It was not reverted on master, as I still hope someone
> motivated enough will step up to fix this without reverting back to
> using easy-mmode, which we hoped to obsolete.

I'll try to look into that, but it might be beyond me.

> If you can find a fix on master, patches would be very welcome.
> Failing that, I might eventually decide to revert that commit on
> master as well.  There's a limit to the efforts I'm prepared to sink
> into maintaining what is basically an obsolete package which uses a
> GDB feature that GDB developers consider obsolete and may remove any
> day (why don't you use "M-x gdb" instead?).

I always use "M-x gud-gdb" because, historically, "M-x gdb" didn't
support multiple simultaneous gdb sessions.  If this is no longer the
case, I will see if I can change my habits.

-- 
Michael Welsh Duggan
(md5i@HIDDEN)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61162; Package emacs. Full text available.

Message received at 61162 <at> debbugs.gnu.org:


Received: (at 61162) by debbugs.gnu.org; 31 Jan 2023 19:54:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 31 14:54:07 2023
Received: from localhost ([127.0.0.1]:55105 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pMwhi-0001QN-MR
	for submit <at> debbugs.gnu.org; Tue, 31 Jan 2023 14:54:07 -0500
Received: from eggs.gnu.org ([209.51.188.92]:37284)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1pMwhg-0001Ps-3r
 for 61162 <at> debbugs.gnu.org; Tue, 31 Jan 2023 14:54:05 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pMwhR-0006J2-BZ; Tue, 31 Jan 2023 14:53:58 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=klmigZV9vIzLqnZdiia/WY9UM90VC5kMY1Pc5E5ZXIs=; b=hE/x3kfdOLdV
 EgKM4FNQTxAg1TK/l6A2ZCnY8+VV3ttIk+7PVxNjS6Rj452BGN1GjwpMSlEGJOrYI7fLgCehi5io2
 dJ+/7uuqiGFyNGm4RYPDvXIn9yRJX6dy7OxCtkGXQRKy/CtIDsjyW5HkXSzkh3193bNhJ7krypH+Z
 qHUFkGeFB9Wx0NmXbL4L1dLkjzROzO+wov6EL7gZrtX4EomLP3Eth0dfMqCELYVXLka9e3c0aLk1Y
 74gYnKNWNIZbjZJwiinPr0rx9Cz2N5tdSpM+K+bSDmkaIwVvbphjSKylIEkTMslUbp7CaDW4aREWL
 JGvSHEhxXQFbIuFlR+Wy3w==;
Received: from [87.69.77.57] (helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1pMwhQ-0000lu-Qz; Tue, 31 Jan 2023 14:53:49 -0500
Date: Tue, 31 Jan 2023 21:53:45 +0200
Message-Id: <83ilgm1nw6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Michael Welsh Duggan <mwd@HIDDEN>
In-Reply-To: <87y1piqzsv.fsf@HIDDEN> (message from Michael Welsh Duggan on
 Tue, 31 Jan 2023 14:17:20 -0500)
Subject: Re: bug#61162: 30.0.50;
 RET in source files that are being displayed by gud no longer works
References: <87fsbssrk1.fsf@HIDDEN> <87y1piqzsv.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 61162
Cc: 61162 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Michael Welsh Duggan <mwd@HIDDEN>
> Date: Tue, 31 Jan 2023 14:17:20 -0500
> 
> Michael Welsh Duggan <mwd@HIDDEN> writes:
> 
> > Create a trivial C program.  Here's a good example:
> >
> >     int main()
> >     {
> >       return 0;
> >     }
> >
> > Save it as foo.c, and compile it with debugging:
> >
> >     gcc -ggdb3 -o foo foo.c
> >
> > From emacs -Q, start gdb on foo:
> >
> >     M-x gud-gdb RET 
> >
> > In my case, since foo is the only executable in the dir, the command
> > line for gdb is already set up correctly as:
> >
> >     gdb --fullname foo
> >
> > Hit RET.  You should be at the gdb prompt.  Start the program:
> >
> >     start RET
> >
> > You should now get another window with foo.c in it for context.  Switch
> > to that buffer and type RET.
> >
> >     C-x o
> >     RET
> >
> > In my case, I get:
> >
> >     comint-send-input: Current buffer has no process
> >
> > This is new and broken behavior.  The expected behavior is that a
> > newline is inserted in the buffer.
> 
> This appears to be caused by commit
> a7b0b20c1bc758fa99fda96d06a266868aec3eea, which was supposed to fix
> Bug#59605.

This current problem is part of fallout from commit 8bb5c1bfec.  That
commit was reverted on the emacs-29 branch, as it caused too much
trouble.  It was not reverted on master, as I still hope someone
motivated enough will step up to fix this without reverting back to
using easy-mmode, which we hoped to obsolete.

If you can find a fix on master, patches would be very welcome.
Failing that, I might eventually decide to revert that commit on
master as well.  There's a limit to the efforts I'm prepared to sink
into maintaining what is basically an obsolete package which uses a
GDB feature that GDB developers consider obsolete and may remove any
day (why don't you use "M-x gdb" instead?).




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61162; Package emacs. Full text available.

Message received at 61162 <at> debbugs.gnu.org:


Received: (at 61162) by debbugs.gnu.org; 31 Jan 2023 19:17:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 31 14:17:31 2023
Received: from localhost ([127.0.0.1]:55030 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pMw8J-0000P5-79
	for submit <at> debbugs.gnu.org; Tue, 31 Jan 2023 14:17:31 -0500
Received: from md5i.com ([75.151.244.229]:52328)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mwd@HIDDEN>) id 1pMw8F-0000Or-Fh
 for 61162 <at> debbugs.gnu.org; Tue, 31 Jan 2023 14:17:29 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com;
 s=dkim; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:
 Subject:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=Ih0WmCF0DSGCu+ZAKlBlvGRxV26TNAnfJASCMVOt3q4=; b=hhvgzUBhV2J98x5+wB1zAkUWsw
 xoABZkocqV8wNW2Tv+ph9LELm4cymnjtbisiLBTpyRWGwgw3UNyiTgqQuFp+QpR8rXvcHck6ecDR8
 LLEYxqhUKqcIvFbwnMg4Di23q;
Received: from abode ([192.168.177.1]:50770 helo=miko)
 by md5i.com with esmtpsa  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
 (Exim 4.96) (envelope-from <mwd@HIDDEN>) id 1pMw88-00EFQZ-2j
 for 61162 <at> debbugs.gnu.org; Tue, 31 Jan 2023 14:17:20 -0500
From: Michael Welsh Duggan <mwd@HIDDEN>
To: 61162 <at> debbugs.gnu.org
Subject: Re: bug#61162: 30.0.50; RET in source files that are being
 displayed by gud no longer works
In-Reply-To: <87fsbssrk1.fsf@HIDDEN> (Michael Welsh Duggan's message of
 "Sun, 29 Jan 2023 21:07:58 -0500")
References: <87fsbssrk1.fsf@HIDDEN>
Date: Tue, 31 Jan 2023 14:17:20 -0500
Message-ID: <87y1piqzsv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 61162
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Michael Welsh Duggan <mwd@HIDDEN> writes:

> Create a trivial C program.  Here's a good example:
>
>     int main()
>     {
>       return 0;
>     }
>
> Save it as foo.c, and compile it with debugging:
>
>     gcc -ggdb3 -o foo foo.c
>
> From emacs -Q, start gdb on foo:
>
>     M-x gud-gdb RET 
>
> In my case, since foo is the only executable in the dir, the command
> line for gdb is already set up correctly as:
>
>     gdb --fullname foo
>
> Hit RET.  You should be at the gdb prompt.  Start the program:
>
>     start RET
>
> You should now get another window with foo.c in it for context.  Switch
> to that buffer and type RET.
>
>     C-x o
>     RET
>
> In my case, I get:
>
>     comint-send-input: Current buffer has no process
>
> This is new and broken behavior.  The expected behavior is that a
> newline is inserted in the buffer.

This appears to be caused by commit
a7b0b20c1bc758fa99fda96d06a266868aec3eea, which was supposed to fix
Bug#59605.

> In GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo
>  version 1.16.0) of 2023-01-25 built on miko
> Repository revision: 8b87d095acfb23b527f955873a59dd9c13ffc9b4
> Repository branch: master
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
> System Description: Debian GNU/Linux bookworm/sid
>
> Configured using:
>  'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid
>  --with-native-compilation --with-xinput2 'CFLAGS=-Og -ggdb'
>  --with-tree-sitter'
>
> Configured features:
> ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
> JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
> NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
> THREADS TIFF TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB
>
> Important settings:
>   value of $LANG: en_US.UTF-8
>   value of $XMODIFIERS: @im=ibus
>   locale-coding-system: utf-8-unix
>
> Major mode: Group
>
> Minor modes in effect:
>   gnus-topic-mode: t
>   cursor-sensor-mode: t
>   gnus-undo-mode: t
>   display-time-mode: t
>   magit-wip-initial-backup-mode: t
>   magit-wip-before-change-mode: t
>   magit-wip-after-apply-mode: t
>   magit-wip-after-save-mode: t
>   magit-wip-mode: t
>   global-git-commit-mode: t
>   magit-auto-revert-mode: t
>   shell-dirtrack-mode: t
>   server-mode: t
>   tooltip-mode: t
>   global-eldoc-mode: t
>   show-paren-mode: t
>   electric-indent-mode: t
>   mouse-wheel-mode: t
>   tool-bar-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   buffer-read-only: t
>   line-number-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>
> Load-path shadows:
> /home/md5i/.config/emacs/elpa/transient-0.3.7/transient hides /home/md5i/src/emacs/md5i/lisp/transient
>
> Features:
> (shadow emacsbug emacs-news-mode noutline outline pulse
> display-line-numbers magit-bookmark bookmark man sieve-mode pcmpl-unix
> find-dired jka-compr shortdoc help-fns radix-tree gud goto-addr
> mailalias smtpmail canlock generic etags fileloop generator xref
> calc-misc calc-alg calc-ext calc-menu calc calc-loaddefs rect calc-macs
> vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view bug-reference
> sh-script smie executable dabbrev grep misearch multi-isearch copyright
> time-stamp whitespace tabify vc cmake-mode thingatpt rst magit-extras
> dired-aux face-remap vc-git vc-dispatcher flow-fill shr-color color
> mm-archive qp mule-util sort gnus-cite mail-extr textsec uni-scripts
> idna-mapping ucs-normalize uni-confusable textsec-check gnus-async
> gnus-bcklg gnus-ml disp-table gnus-topic cursor-sensor nndraft nnmh
> nnfolder utf-7 epa-file network-stream gnus-agent gnus-srvr gnus-score
> score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime
> smime dig gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg
> gnus-demon nntp gnus-group gnus-undo gnutls gnus-start gnus-dbus
> gnus-cloud gnus-spec gnus-win flyspell ispell view pacproxy descr-text
> tramp tramp-loaddefs trampver tramp-integration cus-edit pp cus-load
> files-x tramp-compat parse-time iso8601 ls-lisp time sieve-manage sasl
> sasl-anonymous sasl-login sasl-plain rng-loc rng-uri rng-parse rng-match
> rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util
> sgml-mode facemenu dom python project compat pcase treesit ps-print
> ps-print-loaddefs lpr picture nm dbus xml magit-submodule magit-obsolete
> magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull
> magit-fetch magit-clone magit-remote magit-commit magit-sequence
> magit-notes magit-worktree magit-tag magit-merge magit-branch
> magit-reset magit-files magit-refs magit-status magit magit-repos
> magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode
> diff diff-mode easy-mmode git-commit log-edit pcvs-util add-log
> magit-core magit-autorevert autorevert filenotify magit-margin
> magit-transient magit-process with-editor shell pcomplete server
> magit-mode transient comp comp-cstr warnings icons rx cl-extra edmacro
> kmacro help-mode format-spec magit-git magit-section magit-utils crm
> dash nnimap nnmail gnus-int mail-source gnus-range message sendmail
> yank-media rfc822 mml mml-sec epa mm-decode mm-bodies mm-encode
> mailabbrev gmm-utils mailheader utf7 nnoo gnus wid-edit nnheader
> gnus-util time-date mail-utils range gnus-o365-oauth2 oauth2 url-http
> url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums
> mail-prsvr url-gw nsm puny plstore generated generic-x epg rfc6068
> epg-config ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help
> ediff-init ediff-util dired-x dired dired-loaddefs compile
> text-property-search comint ansi-osc ring ansi-color cc-mode cc-fonts
> cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
> derived magit-autoloads git-commit-autoloads magit-section-autoloads
> transient-autoloads with-editor-autoloads debbugs-autoloads
> ahg-autoloads flycheck-autoloads pkg-info-autoloads epl-autoloads
> js2-mode-autoloads company-autoloads rainbow-delimiters-autoloads info
> debian-el package browse-url url url-proxy url-privacy url-expand
> url-methods url-history url-cookie generate-lisp-file url-domsuf
> url-util mailcap url-handlers url-parse auth-source cl-seq eieio
> eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp
> byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv
> eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
> elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
> fontset image regexp-opt fringe tabulated-list replace newcomment
> text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
> isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
> font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
> indonesian philippine 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
> composite emoji-zwj charscript charprop case-table epa-hook
> jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
> theme-loaddefs faces cus-face macroexp files window text-properties
> overlay sha1 md5 base64 format env code-pages mule custom widget keymap
> hashtable-print-readable backquote threads dbusbind inotify lcms2
> dynamic-setting system-font-setting font-render-setting cairo x-toolkit
> xinput2 x multi-tty make-network-process native-compile emacs)
>
> Memory information:
> ((conses 16 2569013 179021)
>  (symbols 48 54509 8)
>  (strings 32 301965 34664)
>  (string-bytes 1 9142322)
>  (vectors 16 154479)
>  (vector-slots 8 2479637 295788)
>  (floats 8 1620 935)
>  (intervals 56 113568 607)
>  (buffers 984 156))

-- 
Michael Welsh Duggan
(md5i@HIDDEN)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#61162; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 30 Jan 2023 02:08:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 29 21:08:05 2023
Received: from localhost ([127.0.0.1]:45682 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pMJaX-0001Lk-3z
	for submit <at> debbugs.gnu.org; Sun, 29 Jan 2023 21:08:05 -0500
Received: from lists.gnu.org ([209.51.188.17]:41406)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mwd@HIDDEN>) id 1pMJaU-0001Lb-Up
 for submit <at> debbugs.gnu.org; Sun, 29 Jan 2023 21:08:03 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mwd@HIDDEN>) id 1pMJaU-0001D6-PG
 for bug-gnu-emacs@HIDDEN; Sun, 29 Jan 2023 21:08:02 -0500
Received: from md5i.com ([75.151.244.229])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mwd@HIDDEN>) id 1pMJaS-0005AZ-JB
 for bug-gnu-emacs@HIDDEN; Sun, 29 Jan 2023 21:08:02 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com;
 s=dkim; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From:Sender:
 Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description:
 Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:
 In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=cGJggy1iQnro9BnkFHjsRr54dvwEkOTRPnkRxZBOIDc=; b=uTcRyecgx1E1JQXueMoboOQlhz
 wCx5/apmcsm/c4UYwVHfMK64YKHDnMy7iTpBqxbPr0YJNxV/UeDvy88mdmWh1xvvO3xDD31d50iVj
 Fqrfn87A0Efj6ARdJZ4g8hphF;
Received: from abode ([192.168.177.1]:33952 helo=miko)
 by md5i.com with esmtpsa  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
 (Exim 4.96) (envelope-from <mwd@HIDDEN>) id 1pMJaR-00E8Ey-0J
 for bug-gnu-emacs@HIDDEN; Sun, 29 Jan 2023 21:07:59 -0500
From: Michael Welsh Duggan <mwd@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.50; RET in source files that are being displayed by gud no
 longer works
Date: Sun, 29 Jan 2023 21:07:58 -0500
Message-ID: <87fsbssrk1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=75.151.244.229; envelope-from=mwd@HIDDEN;
 helo=md5i.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

Create a trivial C program.  Here's a good example:

    int main()
    {
      return 0;
    }

Save it as foo.c, and compile it with debugging:

    gcc -ggdb3 -o foo foo.c

From emacs -Q, start gdb on foo:

    M-x gud-gdb RET 

In my case, since foo is the only executable in the dir, the command
line for gdb is already set up correctly as:

    gdb --fullname foo

Hit RET.  You should be at the gdb prompt.  Start the program:

    start RET

You should now get another window with foo.c in it for context.  Switch
to that buffer and type RET.

    C-x o
    RET

In my case, I get:

    comint-send-input: Current buffer has no process

This is new and broken behavior.  The expected behavior is that a
newline is inserted in the buffer.


In GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.16.0) of 2023-01-25 built on miko
Repository revision: 8b87d095acfb23b527f955873a59dd9c13ffc9b4
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101004
System Description: Debian GNU/Linux bookworm/sid

Configured using:
 'configure --without-toolkit-scroll-bars --with-x-toolkit=lucid
 --with-native-compilation --with-xinput2 'CFLAGS=-Og -ggdb'
 --with-tree-sitter'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TREE_SITTER WEBP X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  cursor-sensor-mode: t
  gnus-undo-mode: t
  display-time-mode: t
  magit-wip-initial-backup-mode: t
  magit-wip-before-change-mode: t
  magit-wip-after-apply-mode: t
  magit-wip-after-save-mode: t
  magit-wip-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  shell-dirtrack-mode: t
  server-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  buffer-read-only: t
  line-number-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/md5i/.config/emacs/elpa/transient-0.3.7/transient hides /home/md5i/src/emacs/md5i/lisp/transient

Features:
(shadow emacsbug emacs-news-mode noutline outline pulse
display-line-numbers magit-bookmark bookmark man sieve-mode pcmpl-unix
find-dired jka-compr shortdoc help-fns radix-tree gud goto-addr
mailalias smtpmail canlock generic etags fileloop generator xref
calc-misc calc-alg calc-ext calc-menu calc calc-loaddefs rect calc-macs
vc-hg vc-bzr vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view bug-reference
sh-script smie executable dabbrev grep misearch multi-isearch copyright
time-stamp whitespace tabify vc cmake-mode thingatpt rst magit-extras
dired-aux face-remap vc-git vc-dispatcher flow-fill shr-color color
mm-archive qp mule-util sort gnus-cite mail-extr textsec uni-scripts
idna-mapping ucs-normalize uni-confusable textsec-check gnus-async
gnus-bcklg gnus-ml disp-table gnus-topic cursor-sensor nndraft nnmh
nnfolder utf-7 epa-file network-stream gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime
smime dig gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg
gnus-demon nntp gnus-group gnus-undo gnutls gnus-start gnus-dbus
gnus-cloud gnus-spec gnus-win flyspell ispell view pacproxy descr-text
tramp tramp-loaddefs trampver tramp-integration cus-edit pp cus-load
files-x tramp-compat parse-time iso8601 ls-lisp time sieve-manage sasl
sasl-anonymous sasl-login sasl-plain rng-loc rng-uri rng-parse rng-match
rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util
sgml-mode facemenu dom python project compat pcase treesit ps-print
ps-print-loaddefs lpr picture nm dbus xml magit-submodule magit-obsolete
magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull
magit-fetch magit-clone magit-remote magit-commit magit-sequence
magit-notes magit-worktree magit-tag magit-merge magit-branch
magit-reset magit-files magit-refs magit-status magit magit-repos
magit-apply magit-wip magit-log which-func imenu magit-diff smerge-mode
diff diff-mode easy-mmode git-commit log-edit pcvs-util add-log
magit-core magit-autorevert autorevert filenotify magit-margin
magit-transient magit-process with-editor shell pcomplete server
magit-mode transient comp comp-cstr warnings icons rx cl-extra edmacro
kmacro help-mode format-spec magit-git magit-section magit-utils crm
dash nnimap nnmail gnus-int mail-source gnus-range message sendmail
yank-media rfc822 mml mml-sec epa mm-decode mm-bodies mm-encode
mailabbrev gmm-utils mailheader utf7 nnoo gnus wid-edit nnheader
gnus-util time-date mail-utils range gnus-o365-oauth2 oauth2 url-http
url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums
mail-prsvr url-gw nsm puny plstore generated generic-x epg rfc6068
epg-config ediff ediff-merg ediff-mult ediff-wind ediff-diff ediff-help
ediff-init ediff-util dired-x dired dired-loaddefs compile
text-property-search comint ansi-osc ring ansi-color cc-mode cc-fonts
cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
derived magit-autoloads git-commit-autoloads magit-section-autoloads
transient-autoloads with-editor-autoloads debbugs-autoloads
ahg-autoloads flycheck-autoloads pkg-info-autoloads epl-autoloads
js2-mode-autoloads company-autoloads rainbow-delimiters-autoloads info
debian-el package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp
byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax
font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine 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
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
dynamic-setting system-font-setting font-render-setting cairo x-toolkit
xinput2 x multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 2569013 179021)
 (symbols 48 54509 8)
 (strings 32 301965 34664)
 (string-bytes 1 9142322)
 (vectors 16 154479)
 (vector-slots 8 2479637 295788)
 (floats 8 1620 935)
 (intervals 56 113568 607)
 (buffers 984 156))

-- 
Michael Welsh Duggan
(md5i@HIDDEN)




Acknowledgement sent to Michael Welsh Duggan <mwd@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#61162; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 8 Mar 2023 20:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.