Bug 1484931 - [DTS-7 GDB] Missing DWARF-5 fixes
Summary: [DTS-7 GDB] Missing DWARF-5 fixes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: gdb
Version: DTS 7.0 RHEL 7
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: alpha
: 7.0
Assignee: Jan Kratochvil
QA Contact: Michal Kolar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-24 14:57 UTC by Jan Kratochvil
Modified: 2017-10-24 09:46 UTC (History)
9 users (show)

Fixed In Version: devtoolset-7-gdb-8.0-24.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-24 09:46:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:3015 0 normal SHIPPED_LIVE new packages: devtoolset-7-gdb 2017-10-24 13:21:28 UTC

Description Jan Kratochvil 2017-08-24 14:57:41 UTC
Description of problem:
GDB release notes claim DWARF-5 support (excluding its .debug_names index) but in reality that does not work.  Backport those fixes.

Version-Release number of selected component (if applicable):
FAIL devtoolset-7-gdb-8.0-23.el7

How reproducible:
Always.

Steps to Reproduce:

https://sourceware.org/bugzilla/show_bug.cgi?id=22002
Debuggees compiled with -gdwarf-5 -fdebug-types-section now crash GDB such as:
(gdb) break 60
dwarf2read.c:9516: internal-error: void setup_type_unit_groups(die_info*, dwarf2_cu*): Assertion `per_cu->is_debug_types' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) FAIL: gdb.cp/pr17132.exp: setting breakpoint at 60 (GDB internal error)

https://sourceware.org/bugzilla/show_bug.cgi?id=22003
-gdwarf-5:
ptype logical
type = const char []
(gdb) FAIL: gdb.base/constvars.exp: ptype logical

Actual results:
Both testcases do not work in -gdwarf-5 -fdebug-types-section mode.

Expected results:
Both testcases work in -gdwarf-5 -fdebug-types-section mode.

Additional info:

Comment 3 Michal Kolar 2017-09-26 06:05:32 UTC
Reproduced against devtoolset-7-gdb-8.0-23.el7 and verified against devtoolset-7-gdb-8.0.1-26.el7.

Comment 5 errata-xmlrpc 2017-10-24 09:46:56 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://access.redhat.com/errata/RHEA-2017:3015


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