]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
updated source url to https
[packages/gdb.git] / gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
index 617bef97853a645a1431d8f5ae342ad879328548..abea6e62fe235e32fe07e5bc11e9147b5cf15480 100644 (file)
@@ -1,8 +1,15 @@
-Index: gdb-7.4.50.20120602/gdb/elfread.c
-===================================================================
---- gdb-7.4.50.20120602.orig/gdb/elfread.c     2012-06-02 21:35:09.669510757 +0200
-+++ gdb-7.4.50.20120602/gdb/elfread.c  2012-06-02 21:35:31.106502660 +0200
-@@ -1658,6 +1658,19 @@ build_id_to_filename (struct build_id *b
+From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
+From: Fedora GDB patches <invalid@email.com>
+Date: Fri, 27 Oct 2017 21:07:50 +0200
+Subject: gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
+
+;; Workaround librpm BZ 643031 due to its unexpected exit() calls (BZ 642879).
+;;=push+jan
+
+diff --git a/gdb/build-id.c b/gdb/build-id.c
+--- a/gdb/build-id.c
++++ b/gdb/build-id.c
+@@ -709,6 +709,19 @@ build_id_to_filename (const struct bfd_build_id *build_id, char **link_return)
  #include <dlfcn.h>
  #endif
  
@@ -22,10 +29,9 @@ Index: gdb-7.4.50.20120602/gdb/elfread.c
  /* This MISSING_RPM_HASH tracker is used to collect all the missing rpm files
     and avoid their duplicities during a single inferior run.  */
  
-Index: gdb-7.4.50.20120602/gdb/proc-service.list
-===================================================================
---- gdb-7.4.50.20120602.orig/gdb/proc-service.list     2012-06-02 21:35:09.669510757 +0200
-+++ gdb-7.4.50.20120602/gdb/proc-service.list  2012-06-02 21:35:14.296508989 +0200
+diff --git a/gdb/proc-service.list b/gdb/proc-service.list
+--- a/gdb/proc-service.list
++++ b/gdb/proc-service.list
 @@ -37,4 +37,7 @@
    ps_pstop;
    ps_ptread;
This page took 0.028653 seconds and 4 git commands to generate.