Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Keith Seitz <keiths@redhat.com>
To: Dragorn421 <dragorn421@gmail.com>, gdb-patches@sourceware.org
Subject: Re: [PATCH v3 1/2] Fix `add-symbol-file -o ... -s ...` address mapping bug
Date: Fri, 25 Sep 2026 10:06:24 -0700	[thread overview]
Message-ID: <157b5899-a44c-4fa2-a271-95d120ed8efa@redhat.com> (raw)
In-Reply-To: <460be511-ee67-4633-af29-d225219d1c79@gmail.com>

On 9/25/26 12:15 AM, Dragorn421 wrote:
> On 9/24/26 20:54, Keith Seitz wrote:
>> Hi,
>>
>> Thank you for the revision. This looks good, I just note one
>> tiny nit.
>>
>> On 9/23/26 8:51 PM, Dragorn421 wrote:
>>> diff --git a/gdb/symfile.c b/gdb/symfile.c
>>> index 017f7a49d8d..5691c2a46d9 100644
>>> --- a/gdb/symfile.c
>>> +++ b/gdb/symfile.c
>>> @@ -2163,7 +2163,7 @@ set_objfile_default_section_offset (struct 
>>> objfile *objf,
>>>       }
>>>           if (cmp == 0)
>>> -    offsets[objf_sect->sectindex] = 0;
>>> +    offsets[objf_sect->sectindex] = objf->section_offsets[objf_sect- 
>>> >sectindex];
>>
>> This line is now too long. Suggest moving "= ..." to the next line as
>> per our usual coding convention. No need to repost this patch. 
> 
> 
> Thanks for the review.
> 
> What do you mean by "No need to repost this patch."? Should I just send 
> the other (test-adding) patch on its own from now on?

That's what I would do, yes, but you do not have to if it is easier for
you to track this. You could simply continue to post both patches.

> So will a maintainer possibly take care of formatting that too-long line 
> after applying the patch?
You would make the change locally, pushing that when a maintainer
approved the whole series.

My apologies for not keeping this simpler for first time contributors.

Keith


  reply	other threads:[~2026-09-25 17:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-24  3:51 [PATCH v3 0/2] " Dragorn421
2026-09-24  3:51 ` [PATCH v3 1/2] " Dragorn421
2026-09-24 18:54   ` Keith Seitz
2026-09-25  7:15     ` Dragorn421
2026-09-25 17:06       ` Keith Seitz [this message]
2026-09-24  3:51 ` [PATCH v3 2/2] `add-symbol-file`: add test for mixing -o and -s Dragorn421
2026-09-24 18:57   ` Keith Seitz

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=157b5899-a44c-4fa2-a271-95d120ed8efa@redhat.com \
    --to=keiths@redhat.com \
    --cc=dragorn421@gmail.com \
    --cc=gdb-patches@sourceware.org \
    /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