This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug mi/15596] emacs interface with "gdb -i=mi" mishandles quoted newlines
- From: "sergiodj at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 07 Jun 2013 04:53:37 +0000
- Subject: [Bug mi/15596] emacs interface with "gdb -i=mi" mishandles quoted newlines
- Auto-submitted: auto-generated
- References: <bug-15596-4717 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15596
--- Comment #3 from Sergio Durigan Junior <sergiodj at redhat dot com> ---
A little more investigation on this... On Emacs,
lisp/progmodes/gdb-mi.el:gdb-send, I notice that the string being sent for
processing is wrong. When one types:
(gdb) run \
BAZ QUX
The function gets called twice, first with "run \\", and next with "BAZ QUX",
leading to the "Undefined command" error. So yeah, it seems the way Emacs
parses things (or comint-mode, which is the mode used by gdb-mi to interact
with the user, in this case) is wrong.
Since I'm sleepy now, I'll leave the bug opened and take a better look at it
tomorrow/during the weekend, just to make sure everything is covered.
--
You are receiving this mail because:
You are on the CC list for the bug.