Browse Source

2002-04-30 Michael Snyder <msnyder@redhat.com>

* gnu-nat.c (gnu_find_memory_regions): Fix merge botch.
binutils-2_13-branch
Michael Snyder 24 years ago
parent
commit
47f21bcc3d
  1. 3
      gdb/gnu-nat.c

3
gdb/gnu-nat.c

@ -2536,6 +2536,7 @@ gnu_find_memory_regions (int (*func) (CORE_ADDR,
last_protection = protection;
}
}
/* Report the final region. */
if (last_region_end > last_region_address && last_protection != VM_PROT_NONE)
(*func) (last_region_address, last_region_end - last_region_address,
@ -2543,6 +2544,8 @@ gnu_find_memory_regions (int (*func) (CORE_ADDR,
last_protection & VM_PROT_WRITE,
last_protection & VM_PROT_EXECUTE,
data);
return 0;
}

Loading…
Cancel
Save