aboutsummaryrefslogtreecommitdiff
path: root/gdb/m2-exp.y
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-09-02 01:41:40 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-09-02 01:41:40 +0000
commit996ccb3043d9237ea8e6e79d6a7c6121b15f9e61 (patch)
tree0dfcfdfd7f957068352137d70e996b8a100926c1 /gdb/m2-exp.y
parente4d30c7e6abccf8402a5c48743a829cd6633ee98 (diff)
downloadfsf-binutils-gdb-996ccb3043d9237ea8e6e79d6a7c6121b15f9e61.zip
fsf-binutils-gdb-996ccb3043d9237ea8e6e79d6a7c6121b15f9e61.tar.gz
fsf-binutils-gdb-996ccb3043d9237ea8e6e79d6a7c6121b15f9e61.tar.bz2
* symtab.c, symfile.c, c-exp.y, ch-exp.y, m2-exp.y, buildsym.c,
symfile.h, stabsread.c, minsyms.c, solib.c, nlmread.c, dwarfread.c partial-stab.h, symmisc.c, gdbtypes.c: Lint. Remove (or put inside #if) unused variables and labels. Fix unclosed comment. Deal with enumeration values unhandled in switch statements. Make sure non-void functions return values. Include appropriate headers. * dbxread.c (elfstab_build_psymtabs): Don't check for unsigned value < 0.
Diffstat (limited to 'gdb/m2-exp.y')
-rw-r--r--gdb/m2-exp.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y
index 1d7e801..13b93a0 100644
--- a/gdb/m2-exp.y
+++ b/gdb/m2-exp.y
@@ -606,6 +606,7 @@ variable: NAME
case LOC_LOCAL:
case LOC_REF_ARG:
case LOC_REGPARM:
+ case LOC_REGPARM_ADDR:
case LOC_LOCAL_ARG:
case LOC_BASEREG:
case LOC_BASEREG_ARG:
@@ -1119,12 +1120,14 @@ yylex ()
case LOC_ARG:
case LOC_REF_ARG:
case LOC_REGPARM:
+ case LOC_REGPARM_ADDR:
case LOC_LOCAL:
case LOC_LOCAL_ARG:
case LOC_BASEREG:
case LOC_BASEREG_ARG:
case LOC_CONST:
case LOC_CONST_BYTES:
+ case LOC_OPTIMIZED_OUT:
return NAME;
case LOC_TYPEDEF: