public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libstdc++/4675: [VXWorks] __gthread_getspecific calls __terminate without parameters
@ 2002-01-13 16:22 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-01-13 16:22 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, rhurst, rodrigc

Old Synopsis: __gthread_getspecific calls __terminate without parameters
New Synopsis: [VXWorks] __gthread_getspecific calls __terminate without parameters

State-Changed-From-To: open->feedback
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 13 16:22:22 2002
State-Changed-Why:
    Can you clarify what problem you are having with
    libstdc++ on VXWorks?
    
    On VXWorks, gcc/gthr-default.h includes gcc/gthr-vxworks.h
    
    In gcc/gthr-vxworks.h, the following macro is defined:
    
    #define __gthread_getspecific(key)                      \
         ((key == 0)                                        \
          ? ((taskVarAdd (taskIdSelf (), &key) != OK)       \
             ? (__terminate (), (void*)0)                   \
             : (void*)0)                                    \
          : (void*)key)
    
    You can find the signature for __terminate on your
    system by doing an nm on the libstdc++ library.
    On Linux, the signature for terminate seems to be:
    00047fc0 T __cxxabiv1::__terminate(void (*)())  
    
    You probably do not want to call this function directly,
    but instead use the std::set_terminate() call to set a
    std::terminate_handler callback function:
    
    
    http://www.tru64unix.compaq.com/cplus/docs/terminate_3c__std.htm
    
    Is this what you are looking for?
    
    
    
    
    
    

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4675


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: libstdc++/4675: [VXWorks] __gthread_getspecific calls __terminate without parameters
@ 2002-01-27 17:11 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2002-01-27 17:11 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, rhurst, rodrigc

Synopsis: [VXWorks] __gthread_getspecific calls __terminate without parameters

State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 27 17:11:33 2002
State-Changed-Why:
    No feedback.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4675


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-28  1:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-13 16:22 libstdc++/4675: [VXWorks] __gthread_getspecific calls __terminate without parameters rodrigc
2002-01-27 17:11 rodrigc

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).