From: Tom Tromey <tom@tromey.com>
To: Tom de Vries via Gdb-patches <gdb-patches@sourceware.org>
Cc: Tom de Vries <tdevries@suse.de>
Subject: Re: [PATCH][gdb/symtab] Redo "Fix assert in set_length"
Date: Tue, 05 Dec 2023 13:59:38 -0700 [thread overview]
Message-ID: <87il5cjrgl.fsf@tromey.com> (raw)
In-Reply-To: <20220922130015.GA25067@delia.home> (Tom de Vries via Gdb-patches's message of "Thu, 22 Sep 2022 15:00:22 +0200")
>>>>> "Tom" == Tom de Vries via Gdb-patches <gdb-patches@sourceware.org> writes:
Tom> Hi,
Tom> This reverts commit 1c04f72368c ("[gdb/symtab] Fix assert in set_length"), due
Tom> to a regression reported in PR29572, and implements a different fix for PR29453.
Tom> The fix is to not use the CU table in a .debug_names section to construct
Tom> all_comp_units, but instead use create_all_comp_units, and then verify the CU
Tom> table from .debug_names. This also fixes PR25969, so remove the KFAIL.
Tom> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29572
Tom> Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=25969
Tom> Any comments?
I've come around on this patch and I think you should check it in.
My main concern was the time cost, but you showed that this isn't
important; and anyway gdb is probably going to map these sections and do
more stuff with them later anyhow.
So, I think you should check this in.
Approved-By: Tom Tromey <tom@tromey.com>
Tom
next prev parent reply other threads:[~2023-12-05 20:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-22 13:00 Tom de Vries
2022-09-23 13:45 ` Tom Tromey
2022-09-27 12:44 ` Tom de Vries
2023-12-05 20:59 ` Tom Tromey [this message]
2023-12-06 9:34 ` Tom de Vries
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87il5cjrgl.fsf@tromey.com \
--to=tom@tromey.com \
--cc=gdb-patches@sourceware.org \
--cc=tdevries@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).