Date: Wed, 13 Dec 1995 08:08:07 +0200 (IST) From: Eli Zaretskii To: Juergen Erhard Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: *.cpp instead of *.cc On Tue, 12 Dec 1995, Juergen Erhard wrote: > I've got a problem with djgpp 1.12. It assumes (or gdb does) that > the source files end in .cc, but mine all end in .cpp. > > Now I don't want to change all my files (the names). How do I get > gdb to take the filename that is? It's a bug in gcc. If you invoke it with -v, you will see that it calls cc1plus with `-dumpbase file.cc' option (in your case, `file.cc' would be replaced by the actual name of your source file). Until this bug is corrected in future versions of gcc, if renaming files is unacceptable for you, you can call cc1plus yourself with the same command line gcc prints given -v, but with `-dumpbase file.cpp' option instead.