]> git.pld-linux.org Git - packages/gdb.git/blame - x32.patch
attempt to fix x32 build
[packages/gdb.git] / x32.patch
CommitLineData
9f79cb71
JP
1--- gdb-11.1/gdb/nat/amd64-linux-siginfo.c.orig 2021-07-03 19:41:10.000000000 +0200
2+++ gdb-11.1/gdb/nat/amd64-linux-siginfo.c 2021-11-21 18:32:29.634785279 +0100
3@@ -330,6 +330,7 @@
4 to->cpt_si_pid = from_ptrace.cpt_si_pid;
5 to->cpt_si_uid = from_ptrace.cpt_si_uid;
6 }
7+#ifndef __ILP32__
8 else if (to->si_code == SEGV_BNDERR
9 && to->si_signo == SIGSEGV)
10 {
11@@ -337,6 +338,7 @@
12 to->cpt_si_lower = from_ptrace.cpt_si_lower;
13 to->cpt_si_upper = from_ptrace.cpt_si_upper;
14 }
15+#endif
16 else if (to->si_code < 0)
17 {
18 to->cpt_si_pid = from_ptrace.cpt_si_pid;
This page took 0.05978 seconds and 4 git commands to generate.