Re: Is stack back trace possible if compiled with -fomit-frame-pointer?

From: Alistair John Strachan
Date: Wed Sep 21 2005 - 10:25:09 EST


On Wednesday 21 September 2005 15:37, Xin Zhao wrote:
> Also, I might want to know whether it is common case that linux apps
> are compiled with -fomit-frame-pointer swtich?
>

Barring gentoo/LFS/DIY distros, where no such assertions can be made, the
answer is probably "no". Most distros don't strip out a useful source of
userspace debugging for the sake of 'speed'.

--
Cheers,
Alistair.

'No sense being pessimistic, it probably wouldn't work anyway.'
Third year Computer Science undergraduate.
1F2 55 South Clerk Street, Edinburgh, UK.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/