|
From: Earnie B. <ear...@ya...> - 2001-02-08 21:06:07
|
Kevin Wooten wrote: > > We are trying to use the MinGW collection to build a multi platform server, > on both linux and win32. Currently we are runnning into a problem trying to > debug the executable on the win32 platform. It seems the file names in the > debug symbols are produced as '//C/someprobject/file.cpp' when loading the > executable into gdb it cannot open the file ( I am assuming because there is > no attempt to translate it to a valid win32 path ). We can get it to work by > using the 'directory' command in gdb, although we have source files in over > 30 directories, and typing in these each time is entirely to time consuming. > Is there any fixes for this? Any ideas to make life easier? > This would indeed be incorrect for MinGW, if you're using Cygwin gcc I could see this happening. You'll have to give us what versions of gcc and binutils you're using. Try adding a directory path to find the source in gdb. I don't remember if gdb handles C:/foo correctly. You may need to be on the drive in which the source exists and add a directory to search for source without the C:/. Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |