Subject: bug#5208: 23.1.90; M-x gud-gdb: Tab Completion Produces Spurious Ctrl-M Characters
From: [email-masked] (Nick Roberts)
To: Steve Revilak <[email-masked]>, [email-masked]
Cc: [email-masked]
Date: Mon, 14 Dec 2009 19:30:46 +1300

> gdb is
 > 
 >    $ gdb --version
 >    GNU gdb 6.3.50-20050815 (Apple version gdb-768) (Tue Oct  2 04:07:49 UTC 2007)
 >    Copyright 2004 Free Software Foundation, Inc.
 >    GDB is free software, covered by the GNU General Public License, and you are
 >    welcome to change it and/or distribute copies of it under certain conditions.
 >    Type "show copying" to see the conditions.
 >    There is absolutely no warranty for GDB.  Type "show warranty" for details.
 >    This GDB was configured as "i386-apple-darwin".
 > 
 > The operating system is Mac OS X 10.5.8

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.

I have closed this report since FSF gdb fixes this problem and support of Apple gdb
probably isn't an FSF priority.

-- 
Nick                                           http://users.snap.net.nz/~nickrob