0911f37
gdb/linux-nat.c:
0911f37
- Workaround RHEL-5 kernels for detaching SIGSTOPped processes (BZ 498595).
0911f37
Jan Kratochvil 254f0e9
Index: gdb-7.4.50.20111218/gdb/elfread.c
8c4c91e
===================================================================
Jan Kratochvil 254f0e9
--- gdb-7.4.50.20111218.orig/gdb/elfread.c	2011-12-19 01:41:31.000000000 +0100
Jan Kratochvil 254f0e9
+++ gdb-7.4.50.20111218/gdb/elfread.c	2011-12-19 02:31:30.998241760 +0100
Jan Kratochvil 254f0e9
@@ -1053,7 +1053,7 @@ elf_gnu_ifunc_resolver_return_stop (stru
8c4c91e
 #define BUILD_ID_VERBOSE_NONE 0
8c4c91e
 #define BUILD_ID_VERBOSE_FILENAMES 1
8c4c91e
 #define BUILD_ID_VERBOSE_BINARY_PARSE 2
8c4c91e
-static int build_id_verbose = BUILD_ID_VERBOSE_FILENAMES;
8c4c91e
+static int build_id_verbose = BUILD_ID_VERBOSE_NONE;
8c4c91e
 static void
8c4c91e
 show_build_id_verbose (struct ui_file *file, int from_tty,
8c4c91e
 		       struct cmd_list_element *c, const char *value)
Jan Kratochvil 254f0e9
@@ -2172,8 +2172,10 @@ find_separate_debug_file_by_buildid (str
Jan Kratochvil 46a1caf
       if (build_id_name != NULL
Jan Kratochvil 46a1caf
 	  && filename_cmp (build_id_name, objfile->name) == 0)
0911f37
         {
0911f37
+#if 0 /* RHEL-5 backward behavior compatibility.  */
0911f37
 	  warning (_("\"%s\": separate debug info file has no debug info"),
0911f37
 		   build_id_name);
0911f37
+#endif
0911f37
 	  xfree (build_id_name);
0911f37
 	}
0911f37
       else if (build_id_name != NULL)
Jan Kratochvil 254f0e9
Index: gdb-7.4.50.20111218/gdb/corelow.c
8c4c91e
===================================================================
Jan Kratochvil 254f0e9
--- gdb-7.4.50.20111218.orig/gdb/corelow.c	2011-12-19 01:16:15.000000000 +0100
Jan Kratochvil 254f0e9
+++ gdb-7.4.50.20111218/gdb/corelow.c	2011-12-19 02:31:30.998241760 +0100
Jan Kratochvil 254f0e9
@@ -282,7 +282,7 @@ add_to_thread_list (bfd *abfd, asection
Jan Kratochvil 278e869
     inferior_ptid = ptid;			/* Yes, make it current.  */
0911f37
 }
0911f37
 
0911f37
-static int build_id_core_loads = 1;
0911f37
+static int build_id_core_loads = 0;
0911f37
 
0911f37
 static void
0911f37
 build_id_locate_exec (int from_tty)