case LOC_COMPUTED_ARG:
break;
- /* Other types of symbols we just skip over. */
default:
+ if (SYMBOL_IS_ARGUMENT (sym))
+ break;
+
+ /* Other types of symbols we just skip over. */
continue;
}
{
switch (SYMBOL_CLASS (sym))
{
+ default:
+ /* Don't worry about things which aren't arguments. */
+ if (!SYMBOL_IS_ARGUMENT (sym))
+ break;
+
+ /* FALL THROUGH */
+
case LOC_ARG:
case LOC_LOCAL_ARG:
case LOC_REF_ARG:
print_variable_value (sym2, frame, stream);
fprintf_filtered (stream, "\n");
break;
-
- default:
- /* Don't worry about things which aren't arguments. */
- break;
}
}