[Bug find-debuginfo/32513] New: find-debuginfo -i should call `gdb-add-index -dwarf-5` to create `.debug_names`, not `.gdb_index`
sam at gentoo dot org
sourceware-bugzilla@sourceware.org
Fri Jan 3 20:12:59 GMT 2025
https://sourceware.org/bugzilla/show_bug.cgi?id=32513
Bug ID: 32513
Summary: find-debuginfo -i should call `gdb-add-index -dwarf-5`
to create `.debug_names`, not `.gdb_index`
Product: debugedit
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: find-debuginfo
Assignee: unassigned at sourceware dot org
Reporter: sam at gentoo dot org
CC: debugedit at sourceware dot org
Target Milestone: ---
I was looking at wiring up `.gdb_index` (or `.debug_names`) support in our
packaging today and found debugedit's `find-debuginfo` supports `-i` to create
`.gdb_index `by calling `gdb-add-index`, but it does this without `-dwarf-5`,
so it's creating the deprecated/obsolete `.gdb_index` instead of
`.debug_names`.
`find-debuginfo` should pass -dwarf-5 to `gdb-add-index` to create
`.debug_names` instead.
See PR31363 as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Debugedit
mailing list