aboutsummaryrefslogtreecommitdiff
path: root/gdb/xcoffread.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/xcoffread.c')
-rw-r--r--gdb/xcoffread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c
index a7dc46b..34acb06 100644
--- a/gdb/xcoffread.c
+++ b/gdb/xcoffread.c
@@ -1640,11 +1640,11 @@ read_xcoff_symtab (objfile, nsyms)
/* Ignore these. */
break;
-#ifdef STATIC_NODEBUG_VARS
/* This is wrong. These symbols are XMC_TC, which means that
the value of the symbol is the address of the TOC entry, not
the address of the variable itself. */
case C_HIDEXT:
+#ifdef STATIC_NODEBUG_VARS
{
/* This is the only place that static variables show up in files
compiled without -g. External variables also have a C_EXT,