| Summary: | .debug_names uses wrong form for DW_IDX_die_offset | ||
|---|---|---|---|
| Product: | gdb | Reporter: | Tom Tromey <tromey> |
| Component: | symtab | Assignee: | Tom Tromey <tromey> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | P2 | ||
| Version: | HEAD | ||
| Target Milestone: | 15.1 | ||
| Host: | Target: | ||
| Build: | Last reconfirmed: | ||
| Project(s) to access: | ssh public key: | ||
| Bug Depends on: | |||
| Bug Blocks: | 27453 | ||
|
Description
Tom Tromey
2024-02-09 18:57:56 UTC
Setting the target milestone here because this code is new and so we can fix it before it is visible in a release. DW_FORM_ref_addr is better I think. The master branch has been updated by Tom Tromey <tromey@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=932e5949a9f366d149b1b9093c49225502dee890 commit 932e5949a9f366d149b1b9093c49225502dee890 Author: Tom Tromey <tom@tromey.com> Date: Fri Feb 9 17:40:35 2024 -0700 Use DW_FORM_ref_addr for DIE offset in .debug_names Today I realized that while the .debug_names writer uses DW_FORM_udata for the DIE offset, DW_FORM_ref_addr would be more appropriate here. This patch makes this change. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31361 Fixed. |