Bug 31132 - .debug_names writer should create .debug_aranges
Summary: .debug_names writer should create .debug_aranges
Status: NEW
Alias: None
Product: gdb
Classification: Unclassified
Component: symtab (show other bugs)
Version: HEAD
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on: 24820
Blocks: 23504
  Show dependency treegraph
 
Reported: 2023-12-10 15:30 UTC by Tom Tromey
Modified: 2023-12-10 20:57 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Tromey 2023-12-10 15:30:42 UTC
Currently gdb can write .debug_names but it will not
create .debug_aranges.  However, when reading, if .debug_aranges
does not exist, then gdb will not use the index.
This leads to the funny situation that gdb will create an index
that it will not use.  Also, this is a barrier to changing the
index cache to use .debug_names.
Comment 1 Tom Tromey 2023-12-10 20:57:09 UTC
Doing this will require also updating gdb-add-index.