Jan Kratochvil 2c55a54
Index: gdb-7.6.90.20140127/gdb/proc-service.list
Jan Kratochvil f8eee05
===================================================================
Jan Kratochvil 2c55a54
--- gdb-7.6.90.20140127.orig/gdb/proc-service.list	2014-02-06 17:32:42.810640320 +0100
Jan Kratochvil 2c55a54
+++ gdb-7.6.90.20140127/gdb/proc-service.list	2014-02-06 17:33:35.406696964 +0100
Jan Kratochvil 2c55a54
@@ -37,4 +37,7 @@
Jan Kratochvil 2c55a54
   ps_pstop;
Jan Kratochvil 2c55a54
   ps_ptread;
Jan Kratochvil 2c55a54
   ps_ptwrite;
Jan Kratochvil 2c55a54
+
Jan Kratochvil 2c55a54
+  /* gdb-6.6-buildid-locate-rpm.patch */
Jan Kratochvil 2c55a54
+  rpmsqEnable;
Jan Kratochvil 2c55a54
 };
Jan Kratochvil 2c55a54
Index: gdb-7.6.90.20140127/gdb/build-id.c
Jan Kratochvil 2c55a54
===================================================================
Jan Kratochvil 2c55a54
--- gdb-7.6.90.20140127.orig/gdb/build-id.c	2014-02-06 17:30:14.230480264 +0100
Jan Kratochvil 2c55a54
+++ gdb-7.6.90.20140127/gdb/build-id.c	2014-02-06 17:34:28.846754283 +0100
Jan Kratochvil 2c55a54
@@ -677,6 +677,19 @@ build_id_to_filename (const struct elf_b
Jan Kratochvil 1bcf9b6
 #include <dlfcn.h>
Jan Kratochvil 1bcf9b6
 #endif
Jan Kratochvil 1bcf9b6
 
Jan Kratochvil 1bcf9b6
+/* Workarodun https://bugzilla.redhat.com/show_bug.cgi?id=643031
Jan Kratochvil 1bcf9b6
+   librpm must not exit() an application on SIGINT
Jan Kratochvil 1bcf9b6
+
Jan Kratochvil 1bcf9b6
+   Enable or disable a signal handler.  SIGNUM: signal to enable (or disable
Jan Kratochvil 1bcf9b6
+   if negative).  HANDLER: sa_sigaction handler (or NULL to use
Jan Kratochvil 1bcf9b6
+   rpmsqHandler()).  Returns: no. of refs, -1 on error.  */
Jan Kratochvil f8eee05
+extern int rpmsqEnable (int signum, /* rpmsqAction_t handler */ void *handler);
Jan Kratochvil 1bcf9b6
+int
Jan Kratochvil 1bcf9b6
+rpmsqEnable (int signum, /* rpmsqAction_t handler */ void *handler)
Jan Kratochvil 1bcf9b6
+{
Jan Kratochvil 1bcf9b6
+  return 0;
Jan Kratochvil 1bcf9b6
+}
Jan Kratochvil 1bcf9b6
+
Jan Kratochvil 1bcf9b6
 /* This MISSING_RPM_HASH tracker is used to collect all the missing rpm files
Jan Kratochvil 1bcf9b6
    and avoid their duplicities during a single inferior run.  */
Jan Kratochvil 1bcf9b6