Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Simon Marchi <simark@simark.ca>
To: Kevin Buettner <kevinb@redhat.com>, Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] Update more types for section index change
Date: Fri, 13 Sep 2024 07:38:18 -0400	[thread overview]
Message-ID: <8af82b22-86a3-4cdd-94c8-384a17c799c0@simark.ca> (raw)
In-Reply-To: <20240912214116.1bca227b@f40-zbm-amd>

On 9/13/24 12:41 AM, Kevin Buettner wrote:
> On Thu, 12 Sep 2024 20:11:54 -0600
> Tom Tromey <tom@tromey.com> wrote:
> 
>> Commit f89276a2f3e ("change type of `general_symbol_info::m_section`
>> to int") did what it says in the title -- changed the type of the
>> section index from short to int.  However, it seems incomplete, in
>> that there are uses of the section index that use the type 'short'.
>>
>> This patch fixes the ones I found, first by searching for
>> "short.*sect" and then by looking at all the callers of section_index
>> (and then functions called with the resulting value) just to try to be
>> more sure.
>> ---
>>  gdb/coff-pe-read.c | 3 +--
>>  gdb/ctfread.c      | 2 +-
>>  gdb/mdebugread.c   | 4 ++--
>>  gdb/minsyms.c      | 3 +--
>>  gdb/psymtab.c      | 2 +-
>>  gdb/psymtab.h      | 2 +-
>>  6 files changed, 7 insertions(+), 9 deletions(-)
> 
> LGTM.
> 
> Approved-by: Kevin Buettner <kevinb@redhat.com>

LGTM as well, thanks.

Approved-By: Simon Marchi <simon.marchi@efficios.com>

Simon

      reply	other threads:[~2024-09-13 11:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-13  2:11 Tom Tromey
2024-09-13  4:41 ` Kevin Buettner
2024-09-13 11:38   ` Simon Marchi [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=8af82b22-86a3-4cdd-94c8-384a17c799c0@simark.ca \
    --to=simark@simark.ca \
    --cc=gdb-patches@sourceware.org \
    --cc=kevinb@redhat.com \
    --cc=tom@tromey.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