mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
(_hurd_exception2signal): Take new arg `int *error'; set it.
This commit is contained in:
parent
bd2a5f499d
commit
b87619900a
@ -26,8 +26,10 @@ Cambridge, MA 02139, USA. */
|
||||
|
||||
void
|
||||
_hurd_exception2signal (int exception, int code, int subcode,
|
||||
int *signo, int *sigcode)
|
||||
int *signo, int *sigcode, int *error)
|
||||
{
|
||||
*error = 0;
|
||||
|
||||
switch (exception)
|
||||
{
|
||||
default:
|
||||
@ -41,6 +43,7 @@ _hurd_exception2signal (int exception, int code, int subcode,
|
||||
else
|
||||
*signo = SIGBUS;
|
||||
*sigcode = subcode;
|
||||
*error = code;
|
||||
break;
|
||||
|
||||
case EXC_BAD_INSTRUCTION:
|
||||
|
Loading…
Reference in New Issue
Block a user