add gdb file detection