[Ltrace-devel] Getting prototypes from debug information

Dima Kogan lists at dima.secretsauce.net
Thu May 8 02:48:29 UTC 2014


Petr Machata <pmachata at redhat.com> writes:

> Dima Kogan <lists at dima.secretsauce.net> writes:
>
>> I looked into this, and it's caused by the thread. If you modify your
>> main() in hle1.c to do pthread_create() and call jedna() from the
>> thread, then the in-second-thread jedna() call is shown with the default
>> prototype. This is with 'ltrace -f -l'.
>
> Ah, you're right, I've got it reproduced now.  The following fixlet
> takes care of this problem:

Ah, great. Did you have any objections to merging the branch in its
current state? I have more patches, questions, comments, but I'd rather
start a new mailing list thread and patch series, if possible. This
thread is getting a bit long.

dima



More information about the Ltrace-devel mailing list