summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <cgf@redhat.com>2003-02-15 05:29:00 +0000
committerChristopher Faylor <cgf@redhat.com>2003-02-15 05:29:00 +0000
commit7a954e236d3b32eafa9d73e6a8bb589e189858ce (patch)
treefd89cd083d70ebd1a52c9e73817afbcdf7050d57
parentdf77d25fd4dd035436ae98b9745fcac3ea24da34 (diff)
downloadgdb-7a954e236d3b32eafa9d73e6a8bb589e189858ce.tar.gz
merge from trunk
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/mmap.cc1
2 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 4c36e54705a..948186496ff 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2003-02-14 Jason Tishler <jason@tishler.net>
+
+ * mmap.cc (mprotect): Add missing break.
+
2003-02-13 Christopher Faylor <cgf@redhat.com>
* exceptions.cc (try_to_debug): Don't reset priority when returning
diff --git a/winsup/cygwin/mmap.cc b/winsup/cygwin/mmap.cc
index d076f629555..920f93e3ea4 100644
--- a/winsup/cygwin/mmap.cc
+++ b/winsup/cygwin/mmap.cc
@@ -910,6 +910,7 @@ mprotect (caddr_t addr, size_t len, int prot)
break;
case PROT_READ:
new_prot = PAGE_READONLY;
+ break;
case PROT_EXEC:
new_prot = PAGE_EXECUTE;
break;