Petr Machata <[email protected]> writes: > Dima Kogan <[email protected]> writes: > >> Petr Machata <[email protected]> writes: >> >>> I understand what's happening. In proc.c, you look at >>> proc->leader->dwfl, and use that if it's present. If it's not, you >>> create a new one. But then you only store it at lib->dwfl, never at >>> proc->leader->dwfl. Only when -w is active is proc->leader->dwfl >>> actually initialized, in which case the duplication scenario does occur. >> >> Hmmm. I still don't see the duplication. Have you observed it? > > Yeah. Annotate like this: > <snip>
Aha. Thanks for that. Here's a commit that does what you were asking. Is this what you were thinking? https://github.com/dkogan/ltrace/tree/no_double_cu _______________________________________________ Ltrace-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel
