libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] Comparing libunwind on freebsd 7.2 and linux x86 32 OS


From: Shravan Gaonkar
Subject: [Libunwind-devel] Comparing libunwind on freebsd 7.2 and linux x86 32 OS: found a discrepancy
Date: Mon, 12 Apr 2010 10:57:18 -0700

Hi guys,
 I was checking the verbose mode of each test case of libunwind and I
hit on the following issue.
I ran Gtest-bt -V on both linux and freebsd.

The function "foo" is missing in the backtrace of bsd 32 bit. Any thoughts?

----------------bsd 32 bit-------------------------
 ./Gtest-bt -v
Normal backtrace:
        explicit backtrace:
0000000008048999 <do_backtrace+0x29>              (sp=00000000bfbfe8d0)
        proc=8048970-8048c0e
        handler=0 lsda=0 gp=804a19c
0000000008049537 <bar+0x8b7>                      (sp=00000000bfbfe980)
        proc=8048c80-8049545
        handler=0 lsda=0 gp=804a19c
0000000008049587 <main+0x37>                      (sp=00000000bfbfeb90)
        proc=8049550-8049777
        handler=0 lsda=0 gp=804a19c
00000000080488f9 <_start+0x89>                    (sp=00000000bfbfebe0)
        proc=80488f9-80488fa
        handler=0 lsda=0 gp=0
0000000000000002                                  (sp=00000000bfbfec1c)
        proc=2-3
        handler=0 lsda=0 gp=0

        via backtrace():
[0] ip=0x8048b44
[1] ip=0x8049537
[2] ip=0x8049587
[3] ip=0x80488f9
[4] ip=0x2

----------------------------linux -32bit-------------------
Normal backtrace:
        explicit backtrace:
0000000008048a00 <do_backtrace+0x2c>              (sp=00000000bfe7ff00)
        proc=80489d4-8048c60
        handler=0 lsda=0 gp=804a108
0000000008048c6b <foo+0xb>                        (sp=00000000bfe7ffc0)
        proc=8048c60-8048c6d
        handler=0 lsda=0 gp=804a108
00000000080496cf <bar+0xa62>                      (sp=00000000bfe7ffd0)
        proc=8048c6d-80496ea
        handler=0 lsda=0 gp=804a108
0000000008049785 <main+0x43>                      (sp=00000000bfe801f0)
        proc=8049742-80499da
        handler=0 lsda=0 gp=804a108
00000000b7dd0450 <__libc_start_main+0xe0>         (sp=00000000bfe802b0)
        proc=b7dd0450-b7dd0451
        handler=0 lsda=0 gp=0
0000000008048971 <_start+0x21>                    (sp=00000000bfe80320)
        proc=8048971-8048972
        handler=0 lsda=0 gp=0

        via backtrace():
[0] ip=0x8048c14
[1] ip=0x8048c6b
[2] ip=0x80496cf
[3] ip=0x8049785
[4] ip=0xb7dd0450
[5] ip=0x8048971

--------------------------------------------------------------------------
regards
 shravan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]