diff options
author | Michael Snyder <msnyder@vmware.com> | 2007-07-31 21:49:21 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2007-07-31 21:49:21 +0000 |
commit | c7b1adc9a01611d4bdc9a8e4c059189857c642a1 (patch) | |
tree | 537378abaf13450eaf78e045ef6c5985d20c1b03 /gdb/exec.c | |
parent | 73780b3c0adc18e51583865bd831586056162fbc (diff) | |
download | gdb-c7b1adc9a01611d4bdc9a8e4c059189857c642a1.zip gdb-c7b1adc9a01611d4bdc9a8e4c059189857c642a1.tar.gz gdb-c7b1adc9a01611d4bdc9a8e4c059189857c642a1.tar.bz2 |
2007-07-31 Michael Snyder <msnyder@access-company.com>
* exec.c (xfer_memory): Remove redundant condition from 'if'.
Diffstat (limited to 'gdb/exec.c')
-rw-r--r-- | gdb/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |