]> Git Repo - binutils.git/commitdiff
2002-04-30 Michael Snyder <[email protected]>
authorMichael Snyder <[email protected]>
Tue, 30 Apr 2002 19:01:57 +0000 (19:01 +0000)
committerMichael Snyder <[email protected]>
Tue, 30 Apr 2002 19:01:57 +0000 (19:01 +0000)
* gnu-nat.c (gnu_find_memory_regions): Fix merge botch.

gdb/ChangeLog
gdb/gnu-nat.c

index 0c2b2feee2da30b361a85d9394d7a4979f068bbd..561090ea32492ad5b045d44208969492056b6efb 100644 (file)
@@ -1,3 +1,7 @@
+2002-04-30  Michael Snyder  <[email protected]>
+
+       * gnu-nat.c (gnu_find_memory_regions): Fix merge botch.
+
 2002-04-29  Elena Zannoni  <[email protected]>
 
        * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR.
index 824ee83899d0ff8ea3b997a43a0cf382bf204bfc..de4662a7f8e3e641f369cfcdb0fcf3fe602a0b44 100644 (file)
@@ -2536,6 +2536,13 @@ 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,
+            last_protection & VM_PROT_READ,
+            last_protection & VM_PROT_WRITE,
+            last_protection & VM_PROT_EXECUTE,
+            data);
 }
 
 \f
This page took 0.038329 seconds and 4 git commands to generate.