This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] manual/probes.texi: Add documentation of setjmp/longjmp probes


> +These probes are used to signal calls to @code{setjmp}, @code{sigsetjmp}
> +or @code{longjmp}.

Also siglongjmp.

> +@deftp Probe longjmp (void *@var{$arg1}, int @var{$arg2}, void *@var{$arg3})
> +This probe is hit whenever @code{longjmp} is called. Argument @var{$arg1}

or @code{siglongjmp}.  Two spaces between sentences.

> +The longjmp probe is hit at a point where the registers have not yet been

Put longjmp in @code or @samp.

> +@deftp Probe longjmp_target (void *@var{$arg1}, int @var{$arg2}, void *@var{$arg3})
> +This probe is hit whenever @code{longjmp} is called. Argument @var{$arg1}

Just say that it is the same as the longjmp probe, rather than repeating an
identical paragraph.

> +The longjmp_target probe is hit at a point where the registers have been
> +restored to the values in the @code{jmp_buf} and unwinding will show a
> +call stack including the caller of @code{setjmp} or @code{sigsetjmp}.
> +@end deftp

Put longjmp_target in @code or @samp.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]