From 2bfb21bb8ce16698926576870e4b1f2609e0c909 Mon Sep 17 00:00:00 2001
From: Andrew MacLeod <amacleod@redhat.com>
Date: Thu, 21 Oct 2021 10:58:16 -0400
Subject: [PATCH 1/3] Tweak ranger-debug flags.
Set the 3 possible flags as all individual bits and group for options.
* flag-types.h (enum ranger_debug): Adjust values.
* params.opt (ranger_debug): Ditto.
---
gcc/flag-types.h | 3 ++-
gcc/params.opt | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
@@ -454,9 +454,10 @@ enum ranger_debug
{
RANGER_DEBUG_NONE = 0,
RANGER_DEBUG_TRACE = 1,
- RANGER_DEBUG_CACHE = (2 | RANGER_DEBUG_TRACE),
+ RANGER_DEBUG_CACHE = 2,
RANGER_DEBUG_GORI = 4,
RANGER_DEBUG_TRACE_GORI = (RANGER_DEBUG_TRACE | RANGER_DEBUG_GORI),
+ RANGER_DEBUG_TRACE_CACHE = (RANGER_DEBUG_TRACE | RANGER_DEBUG_CACHE),
RANGER_DEBUG_ALL = (RANGER_DEBUG_GORI | RANGER_DEBUG_CACHE)
};
@@ -887,7 +887,7 @@ EnumValue
Enum(ranger_debug) String(trace) Value(RANGER_DEBUG_TRACE)
EnumValue
-Enum(ranger_debug) String(cache) Value(RANGER_DEBUG_CACHE)
+Enum(ranger_debug) String(cache) Value(RANGER_DEBUG_TRACE_CACHE)
EnumValue
Enum(ranger_debug) String(gori) Value(RANGER_DEBUG_GORI)
--
2.17.2