[PATCH v4] binutils/dwarf: Print embedded source, when available

Project / Subsystem

binutils / binutils/dwarf

Date

2026-05-08

Proposer

Will Hawkins <hawkinsw@obs.cr>

Source type

public_inbox

Consensus

Proposed

Sentiment

/10

Technical tradeoffs

  • Increases the size of the objdump binary due to added functionality.
  • Relies on the availability of DWARFv5 debugging information with embedded source code.

All attributes

project
binutils
subsystem
binutils/dwarf
patch_id
discussion_id
20260508112818.47023-1-hawkinsw@obs.cr
source_type
public_inbox
title
[PATCH v4] binutils/dwarf: Print embedded source, when available
headline
Binutils/dwarf: Print embedded source, when available
tldr
This patch adds support for printing embedded source code from DWARFv5 debugging information using objdump.
proposer
Will Hawkins <hawkinsw@obs.cr>
consensus
Proposed
outcome
proposed
sentiment_score
technical_tradeoffs
  • Increases the size of the objdump binary due to added functionality.
  • Relies on the availability of DWARFv5 debugging information with embedded source code.
series_id
series_role
standalone
series_parts
[]
tags
  • binutils
  • dwarf
  • debugging
  • objdump
  • embedded source
bugzilla_url
date
2026-05-08T00:00:00.000Z

[PATCH v4] binutils/dwarf: Print embedded source, when available

Will Hawkins proposes a patch to enhance objdump to print embedded source code directly from DWARFv5 debugging information. The patch modifies dwarf.c, adds a new test case, and updates the testsuite. This allows developers to view the original source code embedded within the binary, which can be helpful for debugging and analysis.