From: Paweł Sikora Date: Sat, 2 Sep 2006 18:00:30 +0000 (+0000) Subject: - try to direct load before searching in specific dirs. X-Git-Tag: auto/th/gdb-6_5-1_1~1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgdb.git;a=commitdiff_plain;h=109922b69986941f4f9ba6b8418e3da8f0ac5e5c - try to direct load before searching in specific dirs. Changed files: gdb-absolute-gnu_debuglink-path.patch -> 1.1 --- diff --git a/gdb-absolute-gnu_debuglink-path.patch b/gdb-absolute-gnu_debuglink-path.patch new file mode 100644 index 0000000..a6b4eb2 --- /dev/null +++ b/gdb-absolute-gnu_debuglink-path.patch @@ -0,0 +1,12 @@ +--- gdb-6.5/gdb/symfile.c.orig 2006-02-25 05:36:39.000000000 +0100 ++++ gdb-6.5/gdb/symfile.c 2006-09-02 19:11:49.398989750 +0200 +@@ -1186,6 +1186,9 @@ + if (basename == NULL) + return NULL; + ++ if (separate_debug_file_exists (basename, crc32)) ++ return basename; ++ + dir = xstrdup (objfile->name); + + /* Strip off the final filename part, leaving the directory name,