On Thu, Aug 16, 2012 at 1:10 AM, Dmitri Shubin wrote:
> On 14.08.2012 17:58, Ian Lance Taylor wrote:
>>
>> unwinder is right and libgcc_s one is wrong.
>> I think the definition of _Unwind_GetCFA is ambiguous. It says "the
>> value of %rsp at the call site in the previous frame." GCC is
>> retur
On 14.08.2012 17:58, Ian Lance Taylor wrote:
unwinder is right and libgcc_s one is wrong.
I think the definition of _Unwind_GetCFA is ambiguous. It says "the
value of %rsp at the call site in the previous frame." GCC is
returning the value of %rsp at the point of the call to throw.
Solaris is r
On 08/14/2012 06:14 AM, Dmitri Shubin wrote:
> My question was: why I get wrong (from my pov) CFA value from GCC unwinder.
While I'll agree that something looks fishy, we can't tell what.
You don't actually know what the correct values are. You can guess
that they're wrong, based on the curious
On Tue, Aug 14, 2012 at 6:14 AM, Dmitri Shubin wrote:
> On 14.08.2012 14:18, Andrew Haley wrote:
>
> My question was: why I get wrong (from my pov) CFA value from GCC unwinder.
>
> I rewritten my small test.
> As one can see here in foo() I placed constant 0x1020304050 right after
> return addres
On 14.08.2012 14:18, Andrew Haley wrote:
You've already had an answer from Richard Henderson, who is probably
the best-placed person to answer you.
My question was: why I get wrong (from my pov) CFA value from GCC unwinder.
I rewritten my small test.
$ cat main.c
#include
#include
typedef
On Tue, Aug 14, 2012 at 3:02 AM, Fumiaki Isoya wrote:
>
> I know nothing about what IP, RA, CFA is, but how about asking Richard
> Stallman ? He will probably answer where to write it.
RMS hasn't worked on GCC since 1991. He would just refer the question
back here.
Ian
On 08/14/2012 09:44 AM, Dmitri Shubin wrote:
> Any thoughts on this?
> Or maybe it's wrong list for this question?
You've already had an answer from Richard Henderson, who is probably
the best-placed person to answer you.
Please don't top-post.
Andrew.
> On 07.08.2012 12:09, Dmitri Shubin wrot
Any thoughts on this?
Or maybe it's wrong list for this question?
On 07.08.2012 12:09, Dmitri Shubin wrote:
On 06.08.2012 21:13, Richard Henderson wrote:
On 08/06/2012 08:23 AM, Dmitri Shubin wrote:
char *cfa = (char *) _Unwind_GetCFA(ctx);
printf("cfa = %p\nra = %p\n", cfa, *(void *
Any thoughts on this?
Or maybe it's wrong list for this question?
On 07.08.2012 12:09, Dmitri Shubin wrote:
On 06.08.2012 21:13, Richard Henderson wrote:
On 08/06/2012 08:23 AM, Dmitri Shubin wrote:
char *cfa = (char *) _Unwind_GetCFA(ctx);
printf("cfa = %p\nra = %p\n", cfa, *(void *
On 06.08.2012 21:13, Richard Henderson wrote:
On 08/06/2012 08:23 AM, Dmitri Shubin wrote:
char *cfa = (char *) _Unwind_GetCFA(ctx);
printf("cfa = %p\nra = %p\n", cfa, *(void **)(cfa - 8));
Use _Unwind_GetIP here, for one.
In fact I'm not interested in IP or RA here, I need some conte
On 08/06/2012 08:23 AM, Dmitri Shubin wrote:
> char *cfa = (char *) _Unwind_GetCFA(ctx);
> printf("cfa = %p\nra = %p\n", cfa, *(void **)(cfa - 8));
Use _Unwind_GetIP here, for one.
r~
On 02.08.2012 20:05, Dmitri Shubin wrote:
Hello!
I got strange problem in LuaJIT [1] stack unwinding on Solaris x64.
I wrote minimal test that reproduces the problem:
$ cat main.c
#include
#include
typedef struct _Unwind_Exception
{
uint64_t exclass;
void (*excleanup)(int, struct _
Hello!
I got strange problem in LuaJIT [1] stack unwinding on Solaris x64.
If I build everything using GCC with unwinder from libgcc_s everything
works fine.
But when I try to use GCC-built libluajit.a in executable built using
Sun Studio 12.2 with standard solaris unwinder from libc I got a cr
13 matches
Mail list logo