generating debug info for SingleStep Debugger

Peter Steiner peter.steiner@hugwi.ch
Fri May 3 08:59:00 GMT 2002


I have built a m68k-elf-gcc 2.95.3 (from David Fiddes' patches) and
managed to compile and link a short test program.

Now I would like to debug it with SingleStep 7.6.2. I can load the ELF
file but SingleStep can't find the source files ("test.c: cannot access
source file"). The problem seems to be caused by cygwin, as the path to
the source file embedded in the object file is in cygwin notation
(/cygdrive/...). If I patch the file path in the object file with a hex
editor, then SingleStep is able to load the source file.

Does anybody know how to tell gcc not to use cygwin paths for object
files?

Regards,

Peter
-- 
    _   _        Peter Steiner <peter.steiner@hugwi.ch>
  / /_/ /        Hug-Witschi AG <http://www.hugwi.ch/>
 /  _  /         Electronic Engineering
/_/ /_/  _   _   Auriedstrasse 10
   / / / / / /   CH-3178 Boesingen
  / /_/ /_/ /    Tel  +41 31 740 44 44
 /_ _ _ _ _/     Fax  +41 31 740 44 45


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list