------- Comment #7 from hjl dot tools at gmail dot com  2010-08-15 20:36 -------
It works for me:

(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /export/home/hjl/bugs/gcc/pr45286/foo 

Breakpoint 1, sigvtalarm (foo=0) at foo.c:25
25      {
(gdb) x/1g $rsp
0x7fffffffde38: 0x0000000000401060
(gdb) disass 0x0000000000401060
Dump of assembler code for function __restore_rt:
   0x0000000000401060 <+0>:     mov    $0xf,%rax
   0x0000000000401067 <+7>:     syscall 
   0x0000000000401069 <+9>:     nopl   0x0(%rax)
End of assembler dump.
(gdb) 

You have to show me how I can reproduce miscompiled
sigaction.c.


-- 


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

Reply via email to