This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1000373] New: A clerical error in except.cxx file when CYGSEM_KERNEL_EXCEPTIONS_DECODE enabled.


https://bugzilla.ecoscentric.com/show_bug.cgi?id=1000373

           Summary: A clerical error in except.cxx file when
                    CYGSEM_KERNEL_EXCEPTIONS_DECODE enabled.
           Product: eCos
           Version: CVS
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: normal
         Component: Kernel
        AssignedTo: jifl@ecoscentric.com
        ReportedBy: lemonskin@tom.com
         QAContact: ecos-bugs@sources.redhat.com


Basing on the CVS latest version downloaded at Feb 13,2007.
If turn on CYGSEM_KERNEL_EXCEPTIONS_DECODE configuration option, I get a 
compilation period error in packages\compat\posix\current\src\except.cxx file. 
Because there is one redundant comma in "thread->register_exception" 
function's parameter list. I think it perhaps be caused by a clerical error, 
and just removing it is OK.

Here is the source fragmentation:
static void install_handlers( Cyg_Thread *thread)
{
#ifdef CYGSEM_KERNEL_EXCEPTIONS_DECODE

    // With decoded exceptions, we must install a separate exception
    // handler for each supported exception.

    for( int i = 0; exception_signal_mapping[i].signal != 0; i++ )
    {
        thread->register_exception( exception_signal_mapping[i].exception,
                                    cyg_posix_exception_handler,
                                    exception_signal_mapping[i].signal,,//error
                                    NULL,
                                    NULL);
    }

-- 
Configure bugmail: https://bugzilla.ecoscentric.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


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