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


View this message in rfc822 format

From: Steve Revilak <steve <at> srevilak.net>
To: Nick Roberts <nickrob <at> snap.net.nz>
Cc: 5208 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: bug#5208: 23.1.90; M-x gud-gdb: Tab Completion Produces Spurious Ctrl-M Characters
Date: Mon, 14 Dec 2009 09:10:34 -0500
[Message part 1 (text/plain, inline)]
>From: Nick Roberts <nickrob <at> snap.net.nz>

>I think the spurious Ctrl-M characters appeared with Leopard and weren't
>present in Tiger but, in any case Apple GDB has it's own behaviours tailored
>for their Xcode application.  For best results, and no ^M characters, download
>the latest (7.0) FSF gdb (http://sourceware.org/gdb/download/) or checkout
>from the CVS repository (http://sourceware.org/gdb/current/) which both build on
>Darwin.

Nick,

Thanks for responding, but I object to closing 5208 for two reasons:

  * With Emacs 23.1.90.1, the ^M characters appear under both Mac OS
    10.4.11 and Mac OS 10.5.8.

  * With Emacs 22.3.1, the ^M characters do not appear in Mac OS X
    10.4, nor do they appear in Mac OS X 10.5.

To put it another way:

 --------------------------------------
|                | Emacs 22 | Emacs 23 |
|----------------|----------|----------|
| Mac OS 10.4.11 | No ^M    | Yes ^M   |
| Mac OS 10.5.8  | No ^M    | Yes ^M   |
 --------------------------------------

The ^M issue is correlated with the version of Emacs; not the version
of underlying operating system, and not the gdb binary supplied by the
underlying operating system.

I understand that support for an FSF gdb would be more of a priority
than support for an Apple gdb.  However, since M-x gud-gdb worked
correctly on Mac OS X with Emacs 22, I feel that it should also work
correctly on Mac OS X with Emacs 23.

Steve
[Message part 2 (application/pgp-signature, inline)]

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.