x86 EH on BSD/OS with snapshot gas not working..

Shigeya Suzuki shigeya@foretune.co.jp
Sun Jan 4 21:10:00 GMT 1998


Assuming EH is working fine on x86 linux, I'm trying to figure out why
EH is not working in my BSD/OS 3.1 box. (i386-pc-bsdi3.1)

I read the FAQ and tried both binutils-2.8.1.0.15 and gas-970915, no
luck.

Any idea why this is not working?

I'm testing egcs-971225, with following very simple test program. make 
bootstrap done without problem.	

This small sample working fine with gcc2.7.2.x. Is there anything I
misunderstood??


Shigeya Suzuki						shigeya@foretune.co.jp
Foretune Co., Ltd.		     http://www.foretune.co.jp/people/shigeya/


------------------------------

#include <iostream.h>

class X {
public:
    X() {};
};

class Y : public X {
public:
    Y() : X() {};
};

main()
{
    cerr << "start" << endl;
    try {
	throw Y();
    }
    catch (Y& y) {
	cerr << "Cought Y\n";
    }

    cerr << "end" << endl;
}



More information about the Gcc mailing list