Bug 1149207
| Summary: | `catch syscall' doesn't work for parent after `fork' is called | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Paulo Andrade <pandrade> |
| Component: | gdb | Assignee: | Sergio Durigan Junior <sergiodj> |
| Status: | CLOSED ERRATA | QA Contact: | Miroslav Franc <mfranc> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | gdb-bugs, jan.kratochvil, mcermak, mfranc, ohudlick |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | gdb-7.6.1-67.el7 | Doc Type: | Bug Fix |
| Doc Text: |
The "catch syscall" command uses a special type of breakpoint inside GDB, which is not maintained by the regular code that handles normal breakpoints. Previously, GDB was incorrectly removing these system call catchpoints when the program being debugged forked itself, which made GDB miss any subsequent system call that needed to be caught. As a consequence, GDB was not able to properly catch a system call in the parent process after a call to "fork". With this update, GDB no longer removes a system call catchpoint from a program that forked itself. As a result, GDB is now able to correctly stop at a system call that is called from the parent process after it has forked.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-11-19 13:02:46 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1149205 | ||
| Bug Blocks: | |||
|
Description
Paulo Andrade
2014-10-03 14:02:55 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2089.html |