Bug 301701
Summary: | GDB fails to break in the $delete destructor | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan.kratochvil> | ||||
Component: | gdb | Assignee: | Jan Kratochvil <jan.kratochvil> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | cagney, kevin | ||||
Target Milestone: | --- | Keywords: | Reopened | ||||
Target Release: | --- | Flags: | kevin:
fedora-cvs+
|
||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | gdb-6.6-34.fc8 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-12-10 23:49:07 UTC | Type: | --- | ||||
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: | 298061 | ||||||
Bug Blocks: | |||||||
Attachments: |
|
Description
Jan Kratochvil
2007-09-22 15:55:22 UTC
Created attachment 203081 [details]
Testcase.
Committed to the Rawhide CVS: * Sat Sep 22 2007 Jan Kratochvil <jan.kratochvil> - 6.6-28 - Support also the `$allocate' and `$delete' ctor/dtor variants (BZ 301701). It was also committed to Rawhide CVS for this Bug: * Wed Sep 26 2007 Jan Kratochvil <jan.kratochvil> - 6.6-30 - Fix re-setting of the ctors/dtors breakpoints with multiple PCs (BZ 301701). But now it does not work for shared libraries and PIE executables for breakpoints set before the binary gets loaded: (gdb) b 25 Breakpoint 1 at 0xf95: file two.C, line 25. Breakpoint 2 at 0x1019: file two.C, line 25. warning: Multiple breakpoints were set. Use the "delete" command to delete unwanted breakpoints. (gdb) r Starting program: /tmp/gdb_desc_brkpt_bug/twopie Breakpoint 1 at 0xf95 Breakpoint 2 at 0x1019 Warning: Cannot insert breakpoint 1. Error accessing memory address 0xf95: Input/output error. Cannot insert breakpoint 2. Error accessing memory address 0x1019: Input/output error. Going to commit there a prepared fix for F-8: Package Change Request ====================== Package Name: foobar New Branches: F-8 Package Name: foobar? Should that be gdb? or was there some other package you needed branched? (In reply to comment #5) > Package Name: foobar? > Should that be gdb? or was there some other package you needed branched? Sure it was a copy-paste typo, sorry: Package Change Request ====================== Package Name: gdb New Branches: F-8 Yeah, just wanted to make sure. ;) cvs done. This Bug started the F-8 branch and this Bug got the final fix by: * Sun Oct 14 2007 Jan Kratochvil <jan.kratochvil> - 6.6-34 - Set the breakpoints always to all the ctors/dtors variants (BZ 301701). On the other hand this whole patchset is already superseded in F9 6.7.1. |