41 lines
1.7 KiB
Diff
41 lines
1.7 KiB
Diff
gdb/linux-nat.c:
|
|
- Workaround RHEL-5 kernels for detaching SIGSTOPped processes (BZ 498595).
|
|
|
|
Index: gdb-7.0.50.20100115/gdb/elfread.c
|
|
===================================================================
|
|
--- gdb-7.0.50.20100115.orig/gdb/elfread.c 2010-01-15 22:19:28.000000000 +0100
|
|
+++ gdb-7.0.50.20100115/gdb/elfread.c 2010-01-15 22:19:34.000000000 +0100
|
|
@@ -582,7 +582,7 @@ elf_symtab_read (struct objfile *objfile
|
|
#define BUILD_ID_VERBOSE_NONE 0
|
|
#define BUILD_ID_VERBOSE_FILENAMES 1
|
|
#define BUILD_ID_VERBOSE_BINARY_PARSE 2
|
|
-static int build_id_verbose = BUILD_ID_VERBOSE_FILENAMES;
|
|
+static int build_id_verbose = BUILD_ID_VERBOSE_NONE;
|
|
static void
|
|
show_build_id_verbose (struct ui_file *file, int from_tty,
|
|
struct cmd_list_element *c, const char *value)
|
|
@@ -1659,8 +1659,10 @@ find_separate_debug_file_by_buildid (str
|
|
/* Prevent looping on a stripped .debug file. */
|
|
if (build_id_name != NULL && strcmp (build_id_name, objfile->name) == 0)
|
|
{
|
|
+#if 0 /* RHEL-5 backward behavior compatibility. */
|
|
warning (_("\"%s\": separate debug info file has no debug info"),
|
|
build_id_name);
|
|
+#endif
|
|
xfree (build_id_name);
|
|
}
|
|
else if (build_id_name != NULL)
|
|
Index: gdb-7.0.50.20100115/gdb/corelow.c
|
|
===================================================================
|
|
--- gdb-7.0.50.20100115.orig/gdb/corelow.c 2010-01-15 22:19:27.000000000 +0100
|
|
+++ gdb-7.0.50.20100115/gdb/corelow.c 2010-01-15 22:19:34.000000000 +0100
|
|
@@ -294,7 +294,7 @@ add_to_thread_list (bfd *abfd, asection
|
|
inferior_ptid = ptid; /* Yes, make it current */
|
|
}
|
|
|
|
-static int build_id_core_loads = 1;
|
|
+static int build_id_core_loads = 0;
|
|
|
|
static void
|
|
build_id_locate_exec (int from_tty)
|