[Ltrace-devel] [PATCH] Apply workaround for exec() only on linux
Petr Machata
pmachata at redhat.com
Wed Jan 30 22:34:03 UTC 2013
Andrey Zonov <zont at FreeBSD.org> writes:
> index dd1eaaa..ebe0307 100644
> --- a/handle_event.c
> +++ b/handle_event.c
> @@ -488,6 +488,7 @@ handle_exec(Event *event)
>
> continue_process(proc->pid);
>
> +#ifdef __linux__
> /* After the exec, we expect to hit the first executable
> * instruction.
> *
We need continue_after_exec for this, similar to how we have other
continue_after's. I put a patch to this effect on master. Would you
like this on 0.7 branch as well, or is it all the same to you?
Thanks,
PM
More information about the Ltrace-devel
mailing list