Hello, I run into this accidentally. When debugging a shared object with embedded symbol file name (.gnu_debuglink section), we made an assumption that objfile would always have full path. However, if shared object was opened using base name only, we will end up with an objfile with the same name. By looking at allocate_objfile which generates the name for an objfile, it is clear that there could be any kind of path including full path, relative path or file name only. The patch checks for such situation and instead of gdb_assert-ing, creates current directory prefix. Tested by running the case manually. Thanks, -- Aleksandar Ristovski QNX Software Systems ChangeLog: * symfile.c (find_separate_debug_file): Fix the case when objfile has only basename as its name.