gdb: fix vfork with multiple threads
[deliverable/binutils-gdb.git] / gdb / gdb-code-style.el
index 6099c1d4b80717b08090695d92cc3729b4130015..06fff4a539d5c4c0cb7b8303f5b50298b3f6e7e4 100644 (file)
@@ -1,6 +1,6 @@
 ;;; gdb-code-style.el --- code style checker for GDB contributors
 
-;; Copyright (C) 2012-2016 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2021 Free Software Foundation, Inc.
 
 ;; Author: Yao Qi <yao@codesourcery.com>
 ;; Created: 17 April 2012
@@ -74,4 +74,9 @@
   )
 (add-hook 'c-mode-common-hook 'gdb-comment-hook)
 
+;; Set c-set-offset 'innamespace as a safe value to be used in .dir-locals.el.
+(setq safe-local-variable-values
+      (cons safe-local-variable-values
+           '((eval c-set-offset 'innamespace 0)
+             (c-offsets-alist (innamespace . 0)))))
 ;;; gdb-code-style.el ends here
This page took 0.022895 seconds and 4 git commands to generate.