Bug 22591 – importC: Debug information for C sources have DW_AT_language set to D.

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-12-12T19:28:02Z
Last change time
2021-12-15T11:20:56Z
Keywords
DebugInfo, ImportC, pull, wrong-code
Assigned to
No Owner
Creator
Iain Buclaw

Comments

Comment #0 by ibuclaw — 2021-12-12T19:28:02Z
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 by dlang-bot — 2021-12-15T09:21:50Z
@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 by dlang-bot — 2021-12-15T11:20:56Z
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