2002-04-30 Michael Snyder <msnyder@redhat.com>
* gnu-nat.c (gnu_find_memory_regions): Fix merge botch.
This commit is contained in:
parent
94349e12d2
commit
1a113c93e5
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2002-04-30 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
|
* gnu-nat.c (gnu_find_memory_regions): Fix merge botch.
|
||||||
|
|
||||||
2002-04-29 Elena Zannoni <ezannoni@redhat.com>
|
2002-04-29 Elena Zannoni <ezannoni@redhat.com>
|
||||||
|
|
||||||
* hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR.
|
* hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR.
|
||||||
|
|
|
@ -2536,6 +2536,13 @@ gnu_find_memory_regions (int (*func) (CORE_ADDR,
|
||||||
last_protection = protection;
|
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,
|
||||||
|
last_protection & VM_PROT_READ,
|
||||||
|
last_protection & VM_PROT_WRITE,
|
||||||
|
last_protection & VM_PROT_EXECUTE,
|
||||||
|
data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue