aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2020-03-12 15:02:26 +0100
committerKamil Rytarowski <n54@gmx.com>2020-03-12 16:07:37 +0100
commit607c69321064f57595038d39af3328b0de73eb85 (patch)
treecd11fe43b469afd9d38fc11e294f6b5000b8d352 /sim
parent09252140293763eaa230314dee27f605a37154d4 (diff)
downloadgdb-607c69321064f57595038d39af3328b0de73eb85.zip
gdb-607c69321064f57595038d39af3328b0de73eb85.tar.gz
gdb-607c69321064f57595038d39af3328b0de73eb85.tar.bz2
sim: ppc: netbsd: Sync errno codes with NetBSD 9.99.49
sim/ppc/ChangeLog: * emul_netbsd.c (netbsd_error_names): Sync with NetBSD 9.99.49.
Diffstat (limited to 'sim')
-rw-r--r--sim/ppc/ChangeLog4
-rw-r--r--sim/ppc/emul_netbsd.c19
2 files changed, 22 insertions, 1 deletions
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index 4d6fb6d..4a0fa75 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,7 @@
+2020-03-12 Kamil Rytarowski <n54@gmx.com>
+
+ * emul_netbsd.c (netbsd_error_names): Sync with NetBSD 9.99.49.
+
2019-12-19 Tom Tromey <tromey@adacore.com>
PR build/24572:
diff --git a/sim/ppc/emul_netbsd.c b/sim/ppc/emul_netbsd.c
index 9b80fc2..bcc821e 100644
--- a/sim/ppc/emul_netbsd.c
+++ b/sim/ppc/emul_netbsd.c
@@ -1373,7 +1373,24 @@ static char *(netbsd_error_names[]) = {
/* 79 */ "EFTYPE",
/* 80 */ "EAUTH",
/* 81 */ "ENEEDAUTH",
- /* 81 */ "ELAST",
+ /* 82 */ "EIDRM",
+ /* 83 */ "ENOMSG",
+ /* 84 */ "EOVERFLOW",
+ /* 85 */ "EILSEQ",
+ /* 86 */ "ENOTSUP",
+ /* 87 */ "ECANCELED",
+ /* 88 */ "EBADMSG",
+ /* 89 */ "ENODATA",
+ /* 90 */ "ENOSR",
+ /* 91 */ "ENOSTR",
+ /* 92 */ "ETIME",
+ /* 93 */ "ENOATTR",
+ /* 94 */ "EMULTIHOP",
+ /* 95 */ "ENOLINK",
+ /* 96 */ "EPROTO",
+ /* 97 */ "EOWNERDEAD",
+ /* 98 */ "ENOTRECOVERABLE",
+ /* 98 */ "ELAST",
};
static char *(netbsd_signal_names[]) = {