public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/28854]  New: unwinder reports sentinel frame.
@ 2006-08-25 23:22 pluto at agmk dot net
  2006-08-25 23:28 ` [Bug target/28854] " pluto at agmk dot net
  2006-11-07 14:14 ` pluto at agmk dot net
  0 siblings, 2 replies; 3+ messages in thread
From: pluto at agmk dot net @ 2006-08-25 23:22 UTC (permalink / raw)
  To: gcc-bugs

on alpha-linux target the unwinder reports sentinel frame.
imho it has no sense.

$ gcc testcase.c -O2; ./a.out
ip = 0x120000768
ip = 0x20000076860
ip = 0x120000668
ip = (nil)
a.out: testcase.c:10: helper: Assertion `ip != 0' failed.

$ cat testcase.c
#include <dlfcn.h>
#include <unwind.h>
#include <assert.h>
#include <stdio.h>
_Unwind_Reason_Code helper( struct _Unwind_Context* ctx, void* arg )
{
        _Unwind_Ptr ip = _Unwind_GetIP( ctx );
        printf( "ip = %p\n", (void*)ip );
        assert( ip != 0 );
        return _URC_NO_REASON;
}
int main()
{
        _Unwind_Backtrace( helper, 0 );
        return 0;
}


-- 
           Summary: unwinder reports sentinel frame.
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
GCC target triplet: alpha-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28854


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

end of thread, other threads:[~2006-11-07 14:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-25 23:22 [Bug target/28854] New: unwinder reports sentinel frame pluto at agmk dot net
2006-08-25 23:28 ` [Bug target/28854] " pluto at agmk dot net
2006-11-07 14:14 ` pluto at agmk dot net

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).