gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gdb / gdb-code-style.el
index 6099c1d4b80717b08090695d92cc3729b4130015..47e99b2b9d59698140a06572b27d9c14e12b1d76 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-2020 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.026371 seconds and 4 git commands to generate.