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