]>
Commit | Line | Data |
---|---|---|
a7de96f0 PS |
1 | Index: gdb-7.4.50.20120602/gdb/elfread.c |
2 | =================================================================== | |
3 | --- gdb-7.4.50.20120602.orig/gdb/elfread.c 2012-06-02 21:35:09.669510757 +0200 | |
4 | +++ gdb-7.4.50.20120602/gdb/elfread.c 2012-06-02 21:35:31.106502660 +0200 | |
5 | @@ -1658,6 +1658,19 @@ build_id_to_filename (struct build_id *b | |
6ed6bacf AM |
6 | #include <dlfcn.h> |
7 | #endif | |
8 | ||
9 | +/* Workarodun https://bugzilla.redhat.com/show_bug.cgi?id=643031 | |
10 | + librpm must not exit() an application on SIGINT | |
11 | + | |
12 | + Enable or disable a signal handler. SIGNUM: signal to enable (or disable | |
13 | + if negative). HANDLER: sa_sigaction handler (or NULL to use | |
14 | + rpmsqHandler()). Returns: no. of refs, -1 on error. */ | |
a7de96f0 | 15 | +extern int rpmsqEnable (int signum, /* rpmsqAction_t handler */ void *handler); |
6ed6bacf AM |
16 | +int |
17 | +rpmsqEnable (int signum, /* rpmsqAction_t handler */ void *handler) | |
18 | +{ | |
19 | + return 0; | |
20 | +} | |
21 | + | |
22 | /* This MISSING_RPM_HASH tracker is used to collect all the missing rpm files | |
23 | and avoid their duplicities during a single inferior run. */ | |
24 | ||
a7de96f0 PS |
25 | Index: gdb-7.4.50.20120602/gdb/proc-service.list |
26 | =================================================================== | |
27 | --- gdb-7.4.50.20120602.orig/gdb/proc-service.list 2012-06-02 21:35:09.669510757 +0200 | |
28 | +++ gdb-7.4.50.20120602/gdb/proc-service.list 2012-06-02 21:35:14.296508989 +0200 | |
6ed6bacf AM |
29 | @@ -37,4 +37,7 @@ |
30 | ps_pstop; | |
31 | ps_ptread; | |
32 | ps_ptwrite; | |
33 | + | |
34 | + /* gdb-6.6-buildid-locate-rpm.patch */ | |
35 | + rpmsqEnable; | |
36 | }; |