From d87651d3f4687ceaab23c2e5f5f8b9576888b4db Mon Sep 17 00:00:00 2001 From: christos Date: Tue, 8 Nov 2011 23:08:11 +0000 Subject: [PATCH] Somehow emacs tries to unregister frame info for a symbol it did not register. Don't abort for now. This worked before because the previous version of gcc did not bother unregistering. Adding debugging printfs makes emacs core dump, where other programs work fine. --- external/gpl3/gcc/dist/gcc/unwind-dw2-fde.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/external/gpl3/gcc/dist/gcc/unwind-dw2-fde.c b/external/gpl3/gcc/dist/gcc/unwind-dw2-fde.c index 60535cfd7801..08c3eb575f1a 100644 --- a/external/gpl3/gcc/dist/gcc/unwind-dw2-fde.c +++ b/external/gpl3/gcc/dist/gcc/unwind-dw2-fde.c @@ -209,7 +209,9 @@ __deregister_frame_info_bases (const void *begin) out: __gthread_mutex_unlock (&object_mutex); +#if 0 gcc_assert (ob); +#endif return (void *) ob; }