Boost logo

Boost :

From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2020-07-17 21:02:23

On Fri, 17 Jul 2020 at 15:20, Niall Douglas via Boost
<boost_at_[hidden]> wrote:

> I am unaware of any similar "silently just works" technique for gdb,
> sadly. And you might note that on my Linux at least, libstdc++ has no
> default discovered pretty printers for gdb either.

Of course there are silently-just-works approaches for gdb.
You just have to create a section called .debug_gdb_scripts (you can
have any number of them)., and gdb will run its content as a Python
script when it loads the binary.

In practice though, people only use this to specify how to load
scripts that are elsewhere on the filesystem, rather than embedding
all the scripts in the object file itself. But I suppose both modes of
operation are valid.

Boost list run by bdawes at, gregod at, cpdaniel at, john at