From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61162: 30.0.50; RET in source files that are being displayed by gud no longer works Date: Tue, 31 Jan 2023 21:53:45 +0200 Message-ID: <83ilgm1nw6.fsf@gnu.org> References: <87fsbssrk1.fsf@md5i.com> <87y1piqzsv.fsf@md5i.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3478"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61162@debbugs.gnu.org To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 31 20:55:19 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pMwis-0000kf-S0 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Jan 2023 20:55:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMwil-0001e1-QU; Tue, 31 Jan 2023 14:55:11 -0500 Original-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 ) id 1pMwie-0001db-LC for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 14:55:10 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pMwic-0006TK-PX for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 14:55:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMwib-0001Rf-Q9 for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 14:55:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jan 2023 19:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61162 X-GNU-PR-Package: emacs Original-Received: via spool by 61162-submit@debbugs.gnu.org id=B61162.16751948475483 (code B ref 61162); Tue, 31 Jan 2023 19:55:01 +0000 Original-Received: (at 61162) by debbugs.gnu.org; 31 Jan 2023 19:54:07 +0000 Original-Received: from localhost ([127.0.0.1]:55105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMwhi-0001QN-MR for submit@debbugs.gnu.org; Tue, 31 Jan 2023 14:54:07 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMwhg-0001Ps-3r for 61162@debbugs.gnu.org; Tue, 31 Jan 2023 14:54:05 -0500 Original-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 ) 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==; Original-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 ) id 1pMwhQ-0000lu-Qz; Tue, 31 Jan 2023 14:53:49 -0500 In-Reply-To: <87y1piqzsv.fsf@md5i.com> (message from Michael Welsh Duggan on Tue, 31 Jan 2023 14:17:20 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254544 Archived-At: > From: Michael Welsh Duggan > Date: Tue, 31 Jan 2023 14:17:20 -0500 > > Michael Welsh Duggan 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?).