2007-07-31 Michael Snyder <msnyder@access-company.com>

* exec.c (xfer_memory): Remove redundant condition from 'if'.
This commit is contained in:
Michael Snyder 2007-07-31 21:49:21 +00:00
parent 73780b3c0a
commit c7b1adc9a0
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2007-07-31 Michael Snyder <msnyder@access-company.com>
* exec.c (xfer_memory): Remove redundant condition from 'if'.
* symfile.c (reread_separate_symbols): Free xmalloced memory.
* printcmd.c (build_address_symbolic): Remove dead code and dead

View file

@ -479,7 +479,7 @@ xfer_memory (CORE_ADDR memaddr, gdb_byte *myaddr, int len, int write,
for (p = target->to_sections; p < target->to_sections_end; p++)
{
if (overlay_debugging && section && p->the_bfd_section &&
if (overlay_debugging && section &&
strcmp (section->name, p->the_bfd_section->name) != 0)
continue; /* not the section we need */
if (memaddr >= p->addr)