From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,a461b4617646685c,start X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news2.google.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!nx02.iad01.newshosting.com!newshosting.com!69.16.185.51.MISMATCH!isp-post01.iad!not-for-mail Date: Tue, 19 Oct 2010 19:40:31 -0400 From: mark User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: not catching exceptions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4cbe2cc7$0$4845$9a6e19ea@unlimited.newshosting.com> Organization: Newshosting.com - Highest quality at a great price! www.newshosting.com NNTP-Posting-Host: 97.100.72.248 X-Complaints-To: abuse@newshosting.com Xref: g2news2.google.com comp.lang.ada:15596 Date: 2010-10-19T19:40:31-04:00 List-Id: Hi: I'm targeting some Ada95 at three different systems. One is a host system running Linux, Intel based. Exceptions are caught just fine. Another is a bare board with a PowerPC running Linux. Exceptions are also trapped fine. The third is a system running Linux but instead of using glibc it uses uclibc. Exceptions are not caught. All I get is an abort message (abort). The configure information for this one is below- $ ./powerpc-mpc8248-linux-uclibc-gcc -v Using built-in specs. Target: powerpc-mpc8248-linux-uclibc Configured with: ../../configure --prefix=/opt/atc/cpp_userchain /ppc8248-linux-toolchain --target=powerpc-mpc8248-linux-uclibc --with-cpu=603 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --with-sysroot=/opt/atc/cpp_userchain/ppc8248-linux-toolchain/sysroot --enable-shared --enable-threads=gnat --disable-tls --disable__cxa_atexit --enable-languages=c,ada Thread model: gnat gcc version 4.1.2 I've tried this with both --enable-threads (POSIX model) and enable-threads=gnat. I've tried with --enable__cxa_atexit and --disable__cxa_atexit. I can't seem to catch exceptions. A simple test program where I just raise and catch an exception gives the same result...abort. Outside of not being able to catch exceptions, everything else works great (tasking, protected types, etc). Any thoughts on why exceptions are not being trapped on the would be appreciated. Thanks.