[gdb] Ensure listing of unused static var in info locals
[deliverable/binutils-gdb.git] / gdb / stack.c
index af30405f29ef0be6040f98ff3dc70a9cbf9186c4..266d771e35f390b567dfc955b88ec12306d58e5f 100644 (file)
@@ -2237,6 +2237,7 @@ iterate_over_block_locals (const struct block *b,
     {
       switch (SYMBOL_CLASS (sym))
        {
+       case LOC_CONST:
        case LOC_LOCAL:
        case LOC_REGISTER:
        case LOC_STATIC:
This page took 0.034256 seconds and 4 git commands to generate.