2006-11-30 Jan Kratochvil * sysdeps/unix/sysv/linux/x86_64/clone.S: Provide CFI for the outermost `clone' function to ensure proper unwinding stop of gdb. --- glibc-2.8/sysdeps/unix/sysv/linux/x86_64/clone.S.orig 2008-04-16 20:57:05.000000000 +0200 +++ glibc-2.8/sysdeps/unix/sysv/linux/x86_64/clone.S 2008-06-24 23:18:02.000000000 +0200 @@ -89,9 +89,6 @@ ret L(thread_start): - cfi_startproc; - /* Clearing frame pointer is insufficient, use CFI. */ - cfi_undefined (rip); /* Clear the frame pointer. The ABI suggests this be done, to mark the outermost frame obviously. */ xorl %ebp, %ebp @@ -116,7 +113,6 @@ /* Call exit with return value from function call. */ movq %rax, %rdi call HIDDEN_JUMPTARGET (_exit) - cfi_endproc; cfi_startproc; PSEUDO_END (BP_SYM (__clone))