[PATCH v2 3/4] Refactor sigcontextinfo.h

Florian Weimer fweimer@redhat.com
Tue Aug 20 17:19:00 GMT 2019


* Adhemerval Zanella:

> diff --git a/sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c b/sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c
> new file mode 100644
> index 0000000000..60a4c6b8f4
> --- /dev/null
> +++ b/sysdeps/unix/sysv/linux/tst-sigcontextinfo-get_pc.c

I think the test should be called tst-sigcontext_get_pc, to match the
inline function name.

> +/* This file defines macros to access the content of the sigcontext element
> +   passed up by the signal handler.  */
> +#include <sigcontextinfo.h>

The comment is outdated, maybe we should just drop it.

Thanks,
Florian



More information about the Libc-alpha mailing list