Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Aug 2018 08:33:04 +0800
From:      blubee blubeeme <gurenchan@gmail.com>
To:        FreeBSD current <freebsd-current@freebsd.org>
Subject:   What's this gregset_t gregs thing
Message-ID:  <CALM2mEkSNjmj%2BFSCoVd5N%2Br2Z07pHxcpDv%2BEggffUWmkZeCN3Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Linux has gregset_t gregs;
https://github.com/lattera/glibc/blob/master/sysdeps/unix/sysv/linux/x86/sys/ucontext.h

Defined above, I also see it in the RISC-V glibc stuff as well.

FreeBSD doesn't seem to have this field defined, I see FreeBSD uses
/usr/include/x86/ucontext.h

but there's no gregs;

If I wanted to return mcontext.gregs

How could I implement that on FreeBSD?

Best,
Owen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALM2mEkSNjmj%2BFSCoVd5N%2Br2Z07pHxcpDv%2BEggffUWmkZeCN3Q>