From: Michael Welsh Duggan <mwd@md5i.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Michael Welsh Duggan <mwd@md5i.com>, 61162@debbugs.gnu.org
Subject: bug#61162: 30.0.50; RET in source files that are being displayed by gud no longer works
Date: Tue, 31 Jan 2023 15:18:15 -0500 [thread overview]
Message-ID: <87sffqqwzc.fsf@md5i.com> (raw)
In-Reply-To: <83ilgm1nw6.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 31 Jan 2023 21:53:45 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Michael Welsh Duggan <mwd@md5i.com>
>> Date: Tue, 31 Jan 2023 14:17:20 -0500
>>
>> Michael Welsh Duggan <mwd@md5i.com> 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@md5i.com)
next prev parent reply other threads:[~2023-01-31 20:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-30 2:07 bug#61162: 30.0.50; RET in source files that are being displayed by gud no longer works Michael Welsh Duggan
2023-01-31 19:17 ` Michael Welsh Duggan
2023-01-31 19:53 ` Eli Zaretskii
2023-01-31 20:18 ` Michael Welsh Duggan [this message]
2023-02-01 13:18 ` Eli Zaretskii
2023-02-01 14:30 ` Michael Welsh Duggan
2023-02-01 16:59 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sffqqwzc.fsf@md5i.com \
--to=mwd@md5i.com \
--cc=61162@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.