Bug 233716 - gdb overrides empty structures definitions
gdb overrides empty structures definitions
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gdb (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jan Kratochvil
:
Depends On: 135488
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-23 19:04 EDT by Jan Kratochvil
Modified: 2008-08-28 18:12 EDT (History)
1 user (show)

See Also:
Fixed In Version: gdb-6.6-8.fc7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-24 04:57:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Sourceware 1734 None None None Never

  None (edit)
Description Jan Kratochvil 2007-03-23 19:04:38 EDT
+++ This bug was initially created as a clone of Bug #135488 +++

With main file defining its local type
struct x { };
and a linked shared library defining other its own local time
struct x { int field; };
GDB will resolve `struct x' in the main executable context from the library.

-- Additional comment from jan.kratochvil@redhat.com on 2007-03-11 19:03 EST --
Posted upstream
http://sources.redhat.com/ml/gdb-patches/2007-03/msg00119.html
Comment 1 Jan Kratochvil 2007-03-24 04:57:27 EDT
Committed to RawHide:
* Sat Mar 24 2007 Jan Kratochvil <jan.kratochvil@redhat.com> - 6.6-8
- Use definition of an empty structure as it is not an opaque type (BZ 233716).
- Fixed the gdb.base/attachstop.exp testcase false 2 FAILs.

Note You need to log in before you can comment on or make changes to this bug.