public inbox for dwz@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/27374] New: [dwz, dwarf5] .debug_names support
@ 2021-02-08 13:07 vries at gcc dot gnu.org
  2021-02-08 14:25 ` [Bug default/27374] " mark at klomp dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: vries at gcc dot gnu.org @ 2021-02-08 13:07 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=27374

            Bug ID: 27374
           Summary: [dwz, dwarf5] .debug_names support
           Product: dwz
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: default
          Assignee: nobody at sourceware dot org
          Reporter: vries at gcc dot gnu.org
                CC: dwz at sourceware dot org
  Target Milestone: ---

Currently not supported:
...
$ gcc -gdwarf-5 ../src/testsuite/dwz.tests/hello.c 
$ gdb-add-index -dwarf-5 a.out
$ cp a.out 1; ./dwz 1
./dwz: 1: Unknown debugging section .debug_names
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/27374] [dwz, dwarf5] .debug_names support
  2021-02-08 13:07 [Bug default/27374] New: [dwz, dwarf5] .debug_names support vries at gcc dot gnu.org
@ 2021-02-08 14:25 ` mark at klomp dot org
  2021-02-19 11:36 ` mark at klomp dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mark at klomp dot org @ 2021-02-08 14:25 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=27374

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |24726


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=24726
[Bug 24726] [dwz] Support DWARF5
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/27374] [dwz, dwarf5] .debug_names support
  2021-02-08 13:07 [Bug default/27374] New: [dwz, dwarf5] .debug_names support vries at gcc dot gnu.org
  2021-02-08 14:25 ` [Bug default/27374] " mark at klomp dot org
@ 2021-02-19 11:36 ` mark at klomp dot org
  2023-12-10 15:15 ` tromey at sourceware dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mark at klomp dot org @ 2021-02-19 11:36 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=27374

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org,
                   |                            |tromey at sourceware dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
This will need coordination with the rest of the GNU Toolchain, in particular
GDB, which uses .gdb_index (which dwz does support). The .debug_names that
gdb-add-index -dwarf-5 generates seems incomplete
(https://www.sourceware.org/bugzilla/show_bug.cgi?id=24820) and it might need
some extensions (in DWARF6?) to be generated properly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/27374] [dwz, dwarf5] .debug_names support
  2021-02-08 13:07 [Bug default/27374] New: [dwz, dwarf5] .debug_names support vries at gcc dot gnu.org
  2021-02-08 14:25 ` [Bug default/27374] " mark at klomp dot org
  2021-02-19 11:36 ` mark at klomp dot org
@ 2023-12-10 15:15 ` tromey at sourceware dot org
  2024-01-18 20:38 ` tromey at sourceware dot org
  2024-02-09 19:58 ` tromey at sourceware dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2023-12-10 15:15 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=27374

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |24820


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=24820
[Bug 24820] .debug_names has incorrect contents
-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/27374] [dwz, dwarf5] .debug_names support
  2021-02-08 13:07 [Bug default/27374] New: [dwz, dwarf5] .debug_names support vries at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2023-12-10 15:15 ` tromey at sourceware dot org
@ 2024-01-18 20:38 ` tromey at sourceware dot org
  2024-02-09 19:58 ` tromey at sourceware dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2024-01-18 20:38 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=27374
Bug 27374 depends on bug 24820, which changed state.

Bug 24820 Summary: .debug_names has incorrect contents
https://sourceware.org/bugzilla/show_bug.cgi?id=24820

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug default/27374] [dwz, dwarf5] .debug_names support
  2021-02-08 13:07 [Bug default/27374] New: [dwz, dwarf5] .debug_names support vries at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2024-01-18 20:38 ` tromey at sourceware dot org
@ 2024-02-09 19:58 ` tromey at sourceware dot org
  4 siblings, 0 replies; 6+ messages in thread
From: tromey at sourceware dot org @ 2024-02-09 19:58 UTC (permalink / raw)
  To: dwz

https://sourceware.org/bugzilla/show_bug.cgi?id=27374

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
FWIW I'd recommend simply making the index after running dwz.

However, if you really want to have dwz understand how to make
an index, you should be aware of gdb extensions:

https://sourceware.org/gdb/current/onlinedocs/gdb.html/Debug-Names.html#Debug-Names

There will be more of these, I think -- actually to handle
dwz we need some.

Also, gdb does producer-sniffing and rejects most indexes,
so probably it will also need a patch if dwz gains this capability.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-02-09 19:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-08 13:07 [Bug default/27374] New: [dwz, dwarf5] .debug_names support vries at gcc dot gnu.org
2021-02-08 14:25 ` [Bug default/27374] " mark at klomp dot org
2021-02-19 11:36 ` mark at klomp dot org
2023-12-10 15:15 ` tromey at sourceware dot org
2024-01-18 20:38 ` tromey at sourceware dot org
2024-02-09 19:58 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).