mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-09 23:00:07 +00:00
hurd: Use MACHINE_THREAD_STATE_SETUP_CALL
Signed-off-by: Sergey Bugaev <bugaevc@gmail.com> Message-Id: <20230517191436.73636-4-bugaevc@gmail.com>
This commit is contained in:
parent
4a373ea7d6
commit
be9c1b9cf4
@ -205,8 +205,8 @@ _hurdsig_fault_init (void)
|
|||||||
It runs the function above. */
|
It runs the function above. */
|
||||||
memset (&state, 0, sizeof state);
|
memset (&state, 0, sizeof state);
|
||||||
MACHINE_THREAD_STATE_FIX_NEW (&state);
|
MACHINE_THREAD_STATE_FIX_NEW (&state);
|
||||||
MACHINE_THREAD_STATE_SET_PC (&state, faulted);
|
MACHINE_THREAD_STATE_SETUP_CALL (&state, faultstack,
|
||||||
MACHINE_THREAD_STATE_SET_SP (&state, faultstack, sizeof faultstack);
|
sizeof faultstack, faulted);
|
||||||
|
|
||||||
err = __USEPORT
|
err = __USEPORT
|
||||||
(PROC,
|
(PROC,
|
||||||
|
Loading…
Reference in New Issue
Block a user