This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: correctly detect overlapping overlays
- To: Jim Blandy <jimb at cygnus dot com>
- Subject: Re: RFA: correctly detect overlapping overlays
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Sun, 12 Aug 2001 22:13:23 -0400
- Cc: gdb-patches at sources dot redhat dot com
- References: <20010812184312.C90245E9DA@zwingli.cygnus.com>
> + CORE_ADDR a_start = a->vma;
> + CORE_ADDR a_end = a->vma + bfd_get_section_size_before_reloc (a);
> + CORE_ADDR b_start = b->vma;
> + CORE_ADDR b_end = b->vma + bfd_get_section_size_before_reloc (b);
Jim, just a reminder on coding style.
There isn't any reason to (and probably good reason to not) lay out the
code so carefully. It just makes the task of someone running indent
over the code all the more confusing.
Andrew