projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd2a5f4
)
(_hurd_exception2signal): Take new arg `int *error'; set it.
author
Roland McGrath
<roland@gnu.org>
Mon, 8 Aug 1994 22:54:44 +0000
(22:54 +0000)
committer
Roland McGrath
<roland@gnu.org>
Mon, 8 Aug 1994 22:54:44 +0000
(22:54 +0000)
sysdeps/mach/hurd/mips/exc2signal.c
patch
|
blob
|
history
diff --git
a/sysdeps/mach/hurd/mips/exc2signal.c
b/sysdeps/mach/hurd/mips/exc2signal.c
index
b894dfb
..
7a9ab31
100644
(file)
--- a/
sysdeps/mach/hurd/mips/exc2signal.c
+++ b/
sysdeps/mach/hurd/mips/exc2signal.c
@@
-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: