This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: problem with exception handling
- To: Heinrich Roder <hro at barney dot lanl dot gov>
- Subject: Re: problem with exception handling
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Sat, 01 Nov 1997 23:08:30 -0700
- cc: egcs at cygnus dot com
- Reply-To: law at cygnus dot com
In message <199710171756.LAA21622@barney.lanl.gov>you write:
>
> --C0X6iWwYi9OgoVx8GtiA8gVni+RCEOFHDcBlzx9W
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
>
> Why do I get a dumped core in this program. I use
> the newest snapshot installed, ( test.C is attached)
>
> gdb gives the following
> Breakpoint 1 at 0x4002aba4
> -- main starts --
> -- f1 starts --
> L TraceLifetime constructed for a.
> -- f2 starts --
> LL TraceLifetime constructed for c.
> LD TraceLifetime destroyed for c.
>
> Breakpoint 1, 0x4002aba4 in abort ()
> (gdb) where
> #0 0x4002aba4 in abort ()
> #1 0x8050029 in copy_reg (reg=16, udata=0xbffff894, target_udata=0xbffff82
> 4)
> #2 0x80502b1 in __throw ()
> #3 0x804a304 in f1 () at /home/hro/C++/test.C:58
> #4 0x804a3e9 in main () at /home/hro/C++/test.C:66
> #5 0x804a02b in _start ()
> --------------------------
Your testcase works for me using the current sources; you should
try it after I make the next snapshot.
jeff