Hi!

Catonano <caton...@gmail.com> skribis:

> In a phase of such instructions I should attach the gdb to a core dump file.
>
> Such file should be "src/util/.libs/lt-test_foo", sometimes wiithout the lt-
>
> Now in src/util/.libs there is no file with a name starting with lt- and
> there are a ton of test_foo files.

This is really a Libtool question, but the solution is that, to debug
‘util/foo’ without having to worry about whether there’s an ‘lt-’ prefix
or not, just run:

  ./libtool --mode=execute gdb src/util/foo core

HTH!

Ludo’.

Reply via email to