Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Kevin Buettner <kevinb@redhat.com>
To: Tom Tromey <tromey@adacore.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Remove OBJSTAT and OBJSTATS macros
Date: Fri, 17 Apr 2026 15:01:55 -0700	[thread overview]
Message-ID: <20260417150155.411ab2c7@f42-zbm-amd> (raw)
In-Reply-To: <20260417192039.2758461-1-tromey@adacore.com>

On Fri, 17 Apr 2026 13:20:39 -0600
Tom Tromey <tromey@adacore.com> wrote:

> The OBJSTATS macro seems pretty pointless, so I removed it.  Then when
> looking at the OBJSTAT macro as well, I decided to remove it and also
> struct objstats.
> 
> After this patch, symbols are allocated using a template method that
> automatically updates the n_syms member.  This cleans up the code a
> little.
> 
> Also, nothing ever set objstats::sz_strtab, so this is removed.
> 
> Regression tested on x86-64 Fedora 43.

LGTM.

Approved-by: Kevin Buettner <kevinb@redhat.com>


      reply	other threads:[~2026-04-17 22:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-17 19:20 Tom Tromey
2026-04-17 22:01 ` Kevin Buettner [this message]

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=20260417150155.411ab2c7@f42-zbm-amd \
    --to=kevinb@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tromey@adacore.com \
    /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