Bug 18290 - type units don't have DW_AT_comp_dir
Summary: type units don't have DW_AT_comp_dir
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: symtab (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-21 21:43 UTC by dje
Modified: 2015-04-21 21:53 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments
testcase and fix (on the gdb side) (1.82 KB, patch)
2015-04-21 21:53 UTC, dje
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description dje 2015-04-21 21:43:37 UTC
This is in part a gcc bug and a gdb bug.

GCC doesn't add DW_AT_comp_dir to type units,
which normally doesn't matter.
For completeness sake, attached is a testcase where it matters.
[which isn't to say this is an important bug to fix]
Comment 1 dje 2015-04-21 21:53:58 UTC
Created attachment 8259 [details]
testcase and fix (on the gdb side)