]> git.pld-linux.org Git - packages/gdb.git/blobdiff - gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
- fix build on x32
[packages/gdb.git] / gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
index 5807ace5ca1dd00111cf880bf929fb3ae450e6ff..337871749705ae3de885562c282ba691b4a828c9 100644 (file)
@@ -1,6 +1,20 @@
---- ./gdb/elfread.c    2010-10-14 17:07:45.000000000 +0200
-+++ ./gdb/elfread.c    2010-10-14 17:06:30.000000000 +0200
-@@ -1382,6 +1382,18 @@ build_id_to_filename (struct build_id *b
+Index: gdb-7.6.90.20140127/gdb/proc-service.list
+===================================================================
+--- gdb-7.6.90.20140127.orig/gdb/proc-service.list     2014-02-06 17:32:42.810640320 +0100
++++ gdb-7.6.90.20140127/gdb/proc-service.list  2014-02-06 17:33:35.406696964 +0100
+@@ -37,4 +37,7 @@
+   ps_pstop;
+   ps_ptread;
+   ps_ptwrite;
++
++  /* gdb-6.6-buildid-locate-rpm.patch */
++  rpmsqEnable;
+ };
+Index: gdb-7.6.90.20140127/gdb/build-id.c
+===================================================================
+--- gdb-7.6.90.20140127.orig/gdb/build-id.c    2014-02-06 17:30:14.230480264 +0100
++++ gdb-7.6.90.20140127/gdb/build-id.c 2014-02-06 17:34:28.846754283 +0100
+@@ -677,6 +677,19 @@ build_id_to_filename (const struct elf_b
  #include <dlfcn.h>
  #endif
  
@@ -10,6 +24,7 @@
 +   Enable or disable a signal handler.  SIGNUM: signal to enable (or disable
 +   if negative).  HANDLER: sa_sigaction handler (or NULL to use
 +   rpmsqHandler()).  Returns: no. of refs, -1 on error.  */
++extern int rpmsqEnable (int signum, /* rpmsqAction_t handler */ void *handler);
 +int
 +rpmsqEnable (int signum, /* rpmsqAction_t handler */ void *handler)
 +{
  /* This MISSING_RPM_HASH tracker is used to collect all the missing rpm files
     and avoid their duplicities during a single inferior run.  */
  
---- ./gdb/proc-service.list    2010-05-28 20:50:30.000000000 +0200
-+++ ./gdb/proc-service.list    2010-10-14 17:06:30.000000000 +0200
-@@ -37,4 +37,7 @@
-   ps_pstop;
-   ps_ptread;
-   ps_ptwrite;
-+
-+  /* gdb-6.6-buildid-locate-rpm.patch */
-+  rpmsqEnable;
- };
This page took 0.074108 seconds and 4 git commands to generate.