agent/src/os/linux/symtab.c

Print this page

        

*** 213,222 **** --- 213,223 ---- + strlen(debug_file_directory) + 2); strcpy(debug_pathname, name); char *last_slash = strrchr(debug_pathname, '/'); if (last_slash == NULL) + free(debug_pathname); return -1; /* Look in the same directory as the object. */ strcpy(last_slash+1, debug_filename);