Index: symfile.c =================================================================== RCS file: /cvs/src/src/gdb/symfile.c,v retrieving revision 1.101 diff -u -r1.101 symfile.c --- symfile.c 27 Jun 2003 13:11:17 -0000 1.101 +++ symfile.c 3 Jul 2003 13:54:51 -0000 @@ -1103,6 +1103,7 @@ static char * find_separate_debug_file (struct objfile *objfile) { +#if 0 asection *sect; char *basename; char *dir; @@ -1178,6 +1179,12 @@ xfree (basename); xfree (dir); return NULL; +#else + char *debug_file = NULL; + if (objfile->obfd) + debug_file = bfd_follow_gnu_debuglink(objfile->obfd, debug_file_directory); + return debug_file; +#endif }