D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 22591 - importC: Debug information for C sources have DW_AT_language set to D.
Summary: importC: Debug information for C sources have DW_AT_language set to D.
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords: DebugInfo, ImportC, pull, wrong-code
Depends on:
Blocks:
 
Reported: 2021-12-12 19:28 UTC by Iain Buclaw
Modified: 2021-12-15 11:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Iain Buclaw 2021-12-12 19:28:02 UTC
Not a big issue, but C sources should have their language set to C so gdb knows better how to interpret the generated debug information.
Comment 1 Dlang Bot 2021-12-15 09:21:50 UTC
@WalterBright created dlang/dmd pull request #13430 "fix Issue 22591 - importC: Debug information for C sources have DW_AT…" fixing this issue:

- fix Issue 22591 - importC: Debug information for C sources have DW_AT_language set to D

https://github.com/dlang/dmd/pull/13430
Comment 2 Dlang Bot 2021-12-15 11:20:56 UTC
dlang/dmd pull request #13430 "fix Issue 22591 - importC: Debug information for C sources have DW_AT…" was merged into stable:

- b9338441d708de5f147fd1d4878c8d95e67fbbb3 by Walter Bright:
  fix Issue 22591 - importC: Debug information for C sources have DW_AT_language set to D

https://github.com/dlang/dmd/pull/13430