mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +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. */
|
||||
memset (&state, 0, sizeof state);
|
||||
MACHINE_THREAD_STATE_FIX_NEW (&state);
|
||||
MACHINE_THREAD_STATE_SET_PC (&state, faulted);
|
||||
MACHINE_THREAD_STATE_SET_SP (&state, faultstack, sizeof faultstack);
|
||||
MACHINE_THREAD_STATE_SETUP_CALL (&state, faultstack,
|
||||
sizeof faultstack, faulted);
|
||||
|
||||
err = __USEPORT
|
||||
(PROC,
|
||||
|
Loading…
Reference in New Issue
Block a user