From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Berlin To: Andrew Cagney Cc: Jason Merrill , Richard Henderson , gcc-patches@gcc.gnu.org, mark@codesourcery.com, gdb@sources.redhat.com Subject: Re: fix sjlj eh vs dwarf2 debug Date: Thu, 23 Aug 2001 04:26:00 -0000 Message-id: <87r8u3ow57.fsf@cgsoftware.com> References: <20010814121628.A30538@redhat.com> <20010814121921.A8417@redhat.com> <3B847864.7060106@cygnus.com> X-SW-Source: 2001-08/msg01342.html Andrew Cagney writes: >>>>>>> "Richard" == Richard Henderson writes: >> >>> On Tue, Aug 14, 2001 at 12:16:28PM -0700, Richard Henderson wrote: >> >>>> * dwarf2out.c (dwarf2out_frame_finish): Never emit .eh_frame >>>> if USING_SJLJ_EXCEPTIONS. >> >>> Actually, I take that back. Now that we are (or may be) encoding >>> .eh_frame data in non-standard ways, we should probably not try to >>> emit only one of .eh_frame or .debug_frame. That way the debugger >>> doesn't have to care about whatever funnies we do with augmentation. >> >>> Jason, what are your thoughts? >> That makes sense to me. What do gdb folks think? > > This won't affect GDB(1). I'd go with what ever the current > interpretation of the standards are. > > Andrew > > (1) because as far as I can tell, no one has extended GDB's > throw/catch code (contributed by HP) to support anything beyond > HP's C++ compiler. Err, look at a patch i submitted about a year ago to extend it to support gcc's throw/catch model through stupid stack frame tricks and breakpointing __throw and __catch. > -- "I went down the street to the 24-hour grocery. When I got there, the guy was locking the front door. I said, "Hey, the sign says you're open 24 hours." He said, "Yes, but not in a row." "-Steven Wright