This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
re: i386-netbsdelf description
- To: Richard Henderson <rth at redhat dot com>
- subject: re: i386-netbsdelf description
- From: matthew green <mrg at cygnus dot com>
- Date: Wed, 01 Aug 2001 15:47:15 +1000
- Cc: gcc-patches at gcc dot gnu dot org
- organisation: Red Hat, Inc.
On Sun, Jul 29, 2001 at 12:17:50AM +1000, matthew green wrote:
> * config.gcc (i386-*-netbsdelf): New description.
> * config/i386/netbsd-elf.h: New file.
Applied, except that I removed this:
thanks!
> /** We don't have the C++ support for this (yet). */
> #undef DWARF2_UNWIND_INFO
> #define DWARF2_UNWIND_INFO 0
It _really_ should just work, now that you've fixed the constructors.
If it doesn't, let me know and I'll try to figure out what's wrong.
this simple program dumps core after printing "Before!" without this
change. is there something that should be happening in crt for this
to work? netbsd targets do not use crtstuff.c.
#include <iostream>
#include <exception>
int
main ()
{
std::cout << "Before!" << std::endl;
try {
throw std::exception();
} catch (std::exception) {
std::cout << "PANIC!" << std::endl;
}
std::cout << "After!" << std::endl;
}