Source-Changes-HG archive

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

[src/trunk]: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common more un...



details:   https://anonhg.NetBSD.org/src/rev/ccbb4abdb1d3
branches:  trunk
changeset: 1024553:ccbb4abdb1d3
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Oct 28 14:31:20 2021 +0000

description:
more underscore

diffstat:

 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r fada8149aad6 -r ccbb4abdb1d3 external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc
--- a/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc   Thu Oct 28 11:25:02 2021 +0000
+++ b/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/sanitizer_linux.cc   Thu Oct 28 14:31:20 2021 +0000
@@ -2041,8 +2041,8 @@
   *pc = ucontext->uc_mcontext.gregs[REG_PC];
   *sp = ucontext->uc_mcontext.gregs[REG_O6] + STACK_BIAS;
 # elif SANITIZER_NETBSD
-  *pc = ucontext->uc_mcontext.__gregs[REG_PC];
-  *sp = ucontext->uc_mcontext.__gregs[REG_O6] + STACK_BIAS;
+  *pc = ucontext->uc_mcontext.__gregs[_REG_PC];
+  *sp = ucontext->uc_mcontext.__gregs[_REG_O6] + STACK_BIAS;
 # else
   // Historical BSDism here.
   struct sigcontext *scontext = (struct sigcontext *)context;



Home | Main Index | Thread Index | Old Index