This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

re: i386-netbsdelf description



   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;
}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]