www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2004/12/10/08:09:28

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
Date: Fri, 10 Dec 2004 08:09:04 -0500
Message-Id: <200412101309.iBAD94QA032072@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <01c4deb6$Blat.v2.2.2$b539e160@zahav.net.il> (eliz@gnu.org)
Subject: Re: Patches to build GDB 6.3
References: <01c4c987$Blat.v2.2.2$52b9e920 AT zahav DOT net DOT il> <200412081212 DOT 27942 DOT pavenis AT latnet DOT lv> <01c4dd4c$Blat.v2.2.2$849c3820 AT zahav DOT net DOT il> <200412101102 DOT 21274 DOT pavenis AT latnet DOT lv> <01c4deb6$Blat.v2.2.2$b539e160 AT zahav DOT net DOT il>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Can you post a short explaination what is special about C++ exceptions
> that reveals the problem only there?  Do C++ exceptions use some
> special registers that are unused anywhere else?

C++ uses the EH unwind information to rewrite the stack frames to
"undo" multiple levels of call frames in one shot.  It's not only one
of the strangest things to debug, but it's second on our bug list
after optimization failures.

Think of it as a longjmp() on hallucinogens.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019