diff options
-rw-r--r-- | libhurd-mm/ChangeLog | 4 | ||||
-rw-r--r-- | libhurd-mm/exceptions.c | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/libhurd-mm/ChangeLog b/libhurd-mm/ChangeLog index 7e59cca..07dac34 100644 --- a/libhurd-mm/ChangeLog +++ b/libhurd-mm/ChangeLog @@ -1,5 +1,9 @@ 2007-12-13 Neal H. Walfield <neal@gnu.org> + * exceptions.c (exception_page_cleanup): Remove debugging cruft. + +2007-12-13 Neal H. Walfield <neal@gnu.org> + * exceptions.c (exception_frame_alloc): When allocating the first frame, set EXCEPTION_PAGE->EXCEPTION_STACK_BOTTOM. (exception_page_cleanup): New function. diff --git a/libhurd-mm/exceptions.c b/libhurd-mm/exceptions.c index 71eb16c..fa6da30 100644 --- a/libhurd-mm/exceptions.c +++ b/libhurd-mm/exceptions.c @@ -321,18 +321,10 @@ exception_page_cleanup (struct exception_page *exception_page) struct exception_frame *f; struct exception_frame *prev = exception_page->exception_stack_bottom; - int count = 0; while ((f = prev)) { prev = f->prev; hurd_slab_dealloc (&exception_frame_slab, f); - count ++; } - - assertx (count == exception_page->frame_count, - "count: %d, exception_page->frame_count: %d", - count, exception_page->frame_count); - - debug (0, "Freed %d frames", count); } |