Bug 32513 - find-debuginfo -i should call `gdb-add-index -dwarf-5` to create `.debug_names`, not `.gdb_index`
Summary: find-debuginfo -i should call `gdb-add-index -dwarf-5` to create `.debug_name...
Status: NEW
Alias: None
Product: debugedit
Classification: Unclassified
Component: find-debuginfo (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-03 20:12 UTC by Sam James
Modified: 2025-01-03 20:12 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James 2025-01-03 20:12:59 UTC
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.