GNU bug report logs - #5208
23.1.90; M-x gud-gdb: Tab Completion Produces Spurious Ctrl-M Characters

Previous Next

Package: emacs;

Reported by: Steve Revilak <steve <at> srevilak.net>

Date: Sun, 13 Dec 2009 15:50:03 UTC

Severity: normal

Done: nickrob <at> snap.net.nz (Nick Roberts)

Bug is archived. No further changes may be made.

Full log


Message #40 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Dmitry Dzhus <dima <at> sphinx.net.ru>
To: bug-gnu-emacs <at> gnu.org
Cc: emacs-pretest-bug <at> gnu.org
Subject: Re: bug#5208: 23.1.90; M-x gud-gdb: Tab Completion Produces Spurious Ctrl-M Characters
Date: Wed, 16 Dec 2009 14:03:31 +0300
Steve Revilak wrote:

> Nick,
>
> Thanks again, and I understand your position.  Over the holiday, I'll
> try to figure out where the ^M's are coming from, and see if I can
> develop a patch.  I've never done serious debugging of Emacs lisp, but
> I'm sure it will be a good experience for me.  I'll also have a look
> at gdb 7.0

In order to make gud-gdb compatible with Apple's GDB, I assume that
perhaps `gud-gdb-fetch-lines-filter` function needs to be changed a
little bit. If Apple's GDB simply appends ^M to every line of `complete`
command output, then it should be possible to just strip these symbols
out.
-- 
Happy Hacking.

http://sphinx.net.ru

This bug report was last modified 15 years and 159 days ago.

Previous Next


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