aboutsummaryrefslogtreecommitdiff
path: root/gdb/ch-exp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/ch-exp.c')
-rw-r--r--gdb/ch-exp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/ch-exp.c b/gdb/ch-exp.c
index 1b22e25..7892475 100644
--- a/gdb/ch-exp.c
+++ b/gdb/ch-exp.c
@@ -2192,8 +2192,8 @@ ch_lex ()
case LOC_OPTIMIZED_OUT:
error ("Symbol \"%s\" names no location.", inputname);
break;
- case LOC_UNRESOLVED:
- error ("unhandled SYMBOL_CLASS in ch_lex()");
+ default:
+ internal_error ("unhandled SYMBOL_CLASS in ch_lex()");
break;
}
}