Re: Backtrace extraction ONLY gdb

Eli Zaretskii
2011-03-21T18:49:45Z

> From: "Maucci, Cyrille" <cyrille.maucci@hp.com>
> CC: "Maucci, Cyrille" <cyrille.maucci@hp.com>
> Date: Mon, 21 Mar 2011 17:13:02 +0000
>
> So, that is the kind of barrier I need to work around because for support reasons, I dramatically need a single feature of gdb on such systems which is the backtrace extraction feature.
>
> Is there any possibility to 'recompile' gdb where only the 'bt' (or 'threads apply all bt') feature would be enabled?

If that system is GNU/Linux (or anything else glibc-based), then you
should know that there's a glibc function that can produce a
backtrace.