Ignore:
Timestamp:
Apr 11, 2025, 6:39:45 PM (8 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
a514fed
Parents:
a800a19
Message:

change manipulator name quoted to quote

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/exception.c

    ra800a19 r30548de  
    1010// Created On       : Mon Jun 26 15:13:00 2017
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Thu Aug 10 16:45:22 2023
    13 // Update Count     : 69
     12// Last Modified On : Wed Sep 25 17:23:49 2024
     13// Update Count     : 74
    1414//
    1515
     
    2727#include "stdhdr/assert.h"
    2828#include "virtual.h"
     29#include <unistd.h>                                                                             // write
    2930
    3031extern void __cabi_abort( const char fmt[], ... );
     
    124125        case _URC_FATAL_PHASE2_ERROR:
    125126        default:
     127                write( 2, "abort1\n", 7 );
    126128                abort();
    127129        }
     
    138140        if ( ! store ) {
    139141                // Failure: cannot allocate exception. Terminate thread.
     142                write( 2, "abort2\n", 7 );
    140143                abort(); // <- Although I think it might be the process.
    141144        }
     
    200203                __cabi_abort(
    201204                        "Propagation failed to find a matching handler.\n"
    202                         "Possible cause is a missing try block with appropriate catch clause for specified exception type.\n"
     205                        "Possible cause is a missing try block with appropriate catch clause for the specified or derived exception type.\n"
    203206                        "Last exception name or message: %s.\n",
    204207                        NODE_TO_EXCEPT( UNWIND_TO_NODE( unwind_exception ) )->
     
    225228        ret = __cfaehm_cancellation_unwind( &node->unwind_exception );
    226229        printf("UNWIND ERROR %d after force unwind\n", ret);
     230        write( 2, "abort3\n", 7 );
    227231        abort();
    228232}
     
    246250        if ( NULL == context->current_exception ) {
    247251                printf("UNWIND ERROR missing exception in begin unwind\n");
     252                write( 2, "abort4\n", 7 );
    248253                abort();
    249254        }
     
    271276#endif
    272277                printf("UNWIND ERROR %d after raise exception\n", ret);
     278                write( 2, "abort5\n", 7 );
    273279                abort();
    274280        }
     
    292298        // TODO: Print some error message.
    293299        (void)except;
     300        write( 2, "abort6\n", 7 );
    294301        abort();
    295302}
     
    299306
    300307        __cfaehm_begin_unwind( __cfaehm_rethrow_adapter );
     308        write( 2, "abort7\n", 7 );
    301309        abort();
    302310}
Note: See TracChangeset for help on using the changeset viewer.