Bug 31132

Summary: .debug_names writer should create .debug_aranges
Product: gdb Reporter: Tom Tromey <tromey>
Component: symtabAssignee: Not yet assigned to anyone <unassigned>
Status: NEW ---    
Severity: normal CC: mark, sam
Priority: P2    
Version: HEAD   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Project(s) to access: ssh public key:
Bug Depends on: 24820    
Bug Blocks: 23504, 31363    

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.