From: Tristan Gingold <gingold@adacore.com>
To: tromey@redhat.com
Cc: Tristan Gingold <gingold@ACT-Europe.FR>, gdb-patches@sourceware.org
Subject: Re: [RFA] Always use addr info to add a separate debug file
Date: Thu, 07 Jan 2010 09:32:00 -0000 [thread overview]
Message-ID: <DBFB27FF-7A9F-49D3-8C45-B8EAAFF7F624@adacore.com> (raw)
In-Reply-To: <m38wcb3tqo.fsf@fleche.redhat.com>
On Jan 6, 2010, at 8:42 PM, Tom Tromey wrote:
>>>>>> "Tristan" == Tristan Gingold <gingold@ACT-Europe.FR> writes:
>
> Tristan> 2010-01-04 Tristan Gingold <gingold@adacore.com>
> Tristan> * symfile.c (build_section_addr_info_from_objfile): New function.
> Tristan> (symbol_file_add_separate): Don't use offsets from objfile but
> Tristan> built an addr info.
>
> Thanks. Just one nit.
>
> Tristan> + sap->other[i].addr = bfd_get_section_vma (objfile->obfd, sec)
> Tristan> + + objfile->section_offsets->offsets[i];
>
> According to GNU rules the RHS of the assignment should be
> parenthesized, and the second line thus more deeply indented.
Ah, I thought this was optional but after re-reading the GNU standard, it isn't.
Thanks for the prompt review, committed with the nit fixed.
Tristan.
prev parent reply other threads:[~2010-01-07 9:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-06 11:18 Tristan Gingold
2010-01-06 19:43 ` Tom Tromey
2010-01-07 9:32 ` Tristan Gingold [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=DBFB27FF-7A9F-49D3-8C45-B8EAAFF7F624@adacore.com \
--to=gingold@adacore.com \
--cc=gdb-patches@sourceware.org \
--cc=gingold@ACT-Europe.FR \
--cc=tromey@redhat.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