public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/31363] New: Remove support for .gdb_index
@ 2024-02-09 20:03 tromey at sourceware dot org
  2024-02-09 20:04 ` [Bug symtab/31363] " tromey at sourceware dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2024-02-09 20:03 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 31363
           Summary: Remove support for .gdb_index
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

Now that the .debug_names writer has been rewritten,
I think we should plan to remove .gdb_index.

While .debug_names has some drawbacks (reuse of the
string table means more data to download when just
the index is desired), it is also better documented
and integrates better with the new DWARF scanner.

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

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

* [Bug symtab/31363] Remove support for .gdb_index
  2024-02-09 20:03 [Bug symtab/31363] New: Remove support for .gdb_index tromey at sourceware dot org
@ 2024-02-09 20:04 ` tromey at sourceware dot org
  2024-02-10 21:04 ` fche at redhat dot com
  2024-02-10 21:48 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2024-02-09 20:04 UTC (permalink / raw)
  To: gdb-prs

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

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |23504


Referenced Bugs:

https://sourceware.org/bugzilla/show_bug.cgi?id=23504
[Bug 23504] index cache: Produce and consume DWARF5 format
-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug symtab/31363] Remove support for .gdb_index
  2024-02-09 20:03 [Bug symtab/31363] New: Remove support for .gdb_index tromey at sourceware dot org
  2024-02-09 20:04 ` [Bug symtab/31363] " tromey at sourceware dot org
@ 2024-02-10 21:04 ` fche at redhat dot com
  2024-02-10 21:48 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: fche at redhat dot com @ 2024-02-10 21:04 UTC (permalink / raw)
  To: gdb-prs

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

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
What about preexisting binaries that have .gdb_index built into them but no
.debug_names?

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

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

* [Bug symtab/31363] Remove support for .gdb_index
  2024-02-09 20:03 [Bug symtab/31363] New: Remove support for .gdb_index tromey at sourceware dot org
  2024-02-09 20:04 ` [Bug symtab/31363] " tromey at sourceware dot org
  2024-02-10 21:04 ` fche at redhat dot com
@ 2024-02-10 21:48 ` tromey at sourceware dot org
  2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2024-02-10 21:48 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
(In reply to Frank Ch. Eigler from comment #1)
> What about preexisting binaries that have .gdb_index built into them but no
> .debug_names?

We don't have to delete the reader immediately.

Worth noting here that .gdb_index won't easily work with lazy CU
expansion, if we end up implementing that.

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

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

end of thread, other threads:[~2024-02-10 21:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-09 20:03 [Bug symtab/31363] New: Remove support for .gdb_index tromey at sourceware dot org
2024-02-09 20:04 ` [Bug symtab/31363] " tromey at sourceware dot org
2024-02-10 21:04 ` fche at redhat dot com
2024-02-10 21:48 ` 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).