Re: The "file" command fail to run on ddd 3.3.11-14 on FC6 linux

PoWah Wong <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
I discovered the problem is that I only compiled some files with the "-g" option.
After I compiled all files with the "-g" option, this error go away.

--- On Wed, 11/26/08, PoWah Wong <[email protected]> wrote:

> From: PoWah Wong <[email protected]>
> Subject: The "file" command fail to run on ddd 3.3.11-14 on FC6 linux
> To: [email protected]
> Received: Wednesday, November 26, 2008, 4:19 PM
> I start ddd as follows:
> $ ddd &
> 1] 21917
> 
> The "file" command fail to run on ddd 3.3.11-14
> on FC6 linux:
> (gdb) file /home/powah/prog/clt
> Using host libthread_db library
> "/lib/libthread_db.so.1".
> (gdb) 
> malformed template specification in command
> 
> This window pop up:
> "DDD: No Source
>  /home/powah/prog/<<C++-namespaces>>: No such
> file or directory"
> 
> 
> I can use the same "file" command with gdb:
> 
> $ gdb
> GNU gdb Red Hat Linux (6.5-15.fc6rh)
> Copyright (C) 2006 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-redhat-linux-gnu".
> (gdb) file /home/powah/prog/clt
> Reading symbols from /home/powah/prog/clt...done.
> Using host libthread_db library
> "/lib/libthread_db.so.1".
> (gdb)
> 
> $ ddd -v
> GNU DDD 3.3.11 (i686-redhat-linux-gnu)
> Copyright (C) 1995-1999 Technische Universit�t
> Braunschweig, Germany.
> Copyright (C) 1999-2001 Universit�t Passau, Germany.
> Copyright (C) 2001 Universit�t des Saarlandes, Germany.
> Copyright (C) 2001-2004 Free Software Foundation, Inc.
> 
> # rpm -qf /usr/bin/ddd
> ddd-3.3.11-14.fc6
> 
> 
> 
>      
> __________________________________________________________________
> Be smarter than spam. See how smart SpamGuard is at giving
> junk email the boot with the All-new Yahoo! Mail.  Click on
> Options in Mail and switch to New Mail today or register for
> free at http://mail.yahoo.ca


      __________________________________________________________________
Connect with friends from any web browser - no download required. Try the new Yahoo! Canada Messenger for the Web BETA at http://ca.messenger.yahoo.com/webmessengerpromo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.