]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/dwarf: remove support for DWP v1
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 15 Jan 2026 03:55:26 +0000 (22:55 -0500)
committerSimon Marchi <simon.marchi@efficios.com>
Thu, 15 Jan 2026 16:17:40 +0000 (11:17 -0500)
commit92a222b648d501e70c998bd579fa82bad90a9ff0
tree4467ef4a7d86c7700ee649bb9ee3d06f7c080b27
parentbce4770105b6edc5808e8d5269e2d3fea9e0b961
gdb/dwarf: remove support for DWP v1

The GCC wiki [1] says that version 1 of the DWP format "was an
experimental version that is no longer supported".  That comment was
written in 2013.  From what I understand, DWP version 1 was not widely
adopted.  Unlike version 2 and version 5 (which is part of DWARF 5).

I propose to get rid of v1 support, which allows removing a bit of code,
making things a bit easier when reasoning about DWARF code.

[1] https://gcc.gnu.org/wiki/DebugFissionDWP

Change-Id: Ie46b55662e63b7f341b7827330154ec4ab5af9e5
Approved-By: Tom Tromey <tom@tromey.com>
gdb/dwarf2/read.c