]> git.pld-linux.org Git - packages/gdb.git/blob - gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
- updated to 14.1 + rebased Fedora buildid patches set
[packages/gdb.git] / gdb-6.6-buildid-locate-rpm-librpm-workaround.patch
1 Index: gdb-7.6.90.20140127/gdb/proc-service.list
2 ===================================================================
3 --- gdb-7.6.90.20140127.orig/gdb/proc-service.list      2014-02-06 17:32:42.810640320 +0100
4 +++ gdb-7.6.90.20140127/gdb/proc-service.list   2014-02-06 17:33:35.406696964 +0100
5 @@ -37,4 +37,7 @@
6    ps_pstop;
7    ps_ptread;
8    ps_ptwrite;
9 +
10 +  /* gdb-6.6-buildid-locate-rpm.patch */
11 +  rpmsqEnable;
12  };
13 Index: gdb-7.6.90.20140127/gdb/build-id.c
14 ===================================================================
15 --- gdb-7.6.90.20140127.orig/gdb/build-id.c     2014-02-06 17:30:14.230480264 +0100
16 +++ gdb-7.6.90.20140127/gdb/build-id.c  2014-02-06 17:34:28.846754283 +0100
17 @@ -677,6 +677,19 @@ build_id_to_filename (const struct elf_b
18  #include <dlfcn.h>
19  #endif
20  
21 +/* Workarodun https://bugzilla.redhat.com/show_bug.cgi?id=643031
22 +   librpm must not exit() an application on SIGINT
23 +
24 +   Enable or disable a signal handler.  SIGNUM: signal to enable (or disable
25 +   if negative).  HANDLER: sa_sigaction handler (or NULL to use
26 +   rpmsqHandler()).  Returns: no. of refs, -1 on error.  */
27 +extern int rpmsqEnable (int signum, /* rpmsqAction_t handler */ void *handler);
28 +int
29 +rpmsqEnable (int signum, /* rpmsqAction_t handler */ void *handler)
30 +{
31 +  return 0;
32 +}
33 +
34  /* This MISSING_RPM_HASH tracker is used to collect all the missing rpm files
35     and avoid their duplicities during a single inferior run.  */
36  
This page took 0.142891 seconds and 3 git commands to generate.