Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/sys Match the regular _ksiginfo size since sys/sy...



details:   https://anonhg.NetBSD.org/src/rev/cc6250e2959f
branches:  trunk
changeset: 452147:cc6250e2959f
user:      maya <maya%NetBSD.org@localhost>
date:      Wed Jun 19 16:14:07 2019 +0000

description:
Match the regular _ksiginfo size since sys/sys/siginfo.h:1.33

"Expand siginfo_t (struct size not changed) to new values for
SIGTRAP TRAP_SCE/TRAP_SCX events."

Fixes port-mips/54309: gdb doesn't work on mips64 (32bit userland,
64bit kernel)

diffstat:

 sys/compat/sys/siginfo.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 323754584e96 -r cc6250e2959f sys/compat/sys/siginfo.h
--- a/sys/compat/sys/siginfo.h  Wed Jun 19 15:10:17 2019 +0000
+++ b/sys/compat/sys/siginfo.h  Wed Jun 19 16:14:07 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: siginfo.h,v 1.4 2008/04/28 20:23:46 martin Exp $        */
+/*     $NetBSD: siginfo.h,v 1.5 2019/06/19 16:14:07 maya Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -72,6 +72,13 @@
                        int32_t _band;
                        int _fd;
                } _poll;
+
+               struct {
+                       int     _sysnum;
+                       int     _retval[2];
+                       int     _error;
+                       uint64_t _args[8]; /* SYS_MAXSYSARGS */
+               } _syscall;
        } _reason;
 };
 



Home | Main Index | Thread Index | Old Index