NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-mips/54309: gdb doesn't work on mips64 (32bit userland, 64bit kernel)
The following reply was made to PR port-mips/54309; it has been noted by GNATS.
From: coypu%sdf.org@localhost
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-mips/54309: gdb doesn't work on mips64 (32bit userland,
64bit kernel)
Date: Wed, 19 Jun 2019 16:03:02 +0000
This seems to do the trick.
diff --git a/sys/compat/sys/siginfo.h b/sys/compat/sys/siginfo.h
index 47a1476b9c..45e4c53d6d 100644
--- a/sys/compat/sys/siginfo.h
+++ b/sys/compat/sys/siginfo.h
@@ -72,6 +72,13 @@ struct __ksiginfo32 {
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