[PATCH] display mask on enter to sigreturn, not exit

Denys Vlasenko dvlasenk at redhat.com
Tue Jan 17 19:59:46 UTC 2012


On 01/17/2012 08:43 PM, Dmitry V. Levin wrote:
> On Tue, Jan 17, 2012 at 08:01:00PM +0100, Denys Vlasenko wrote:
>> On 01/17/2012 07:53 PM, Dmitry V. Levin wrote:
> [...]
>>> [X86_64] (x86_64_regs): Remove.
>>> * syscall.c [X86_64] (x86_64_regs): Make static.
>>
>> I think we will eventually need register structs to be accessible
>> from all files. That's why I made x86_64_regs global too,
>> even though it does not have to be global (so far).
>>
>> I would like to ask for it to remain global.
>
> I'd probably agree, but the most astonishing thing is that global
> x86_64_regs doesn't work for me at all:
>
> $ ./strace /bin/true
> Segmentation fault

Mysterious...

> So I suggest to make x86_64_regs static for now, just to make HEAD work
> again.  Meanwhile I'll try to investigate what's going on.

Ok then, please do.

-- 
vda




More information about the Strace-devel mailing list