diff options
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/buildsym.c b/gdb/buildsym.c index e28c727..02d7dfc 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -268,6 +268,8 @@ finish_block (symbol, listhead, old_blocks, start, end, objfile) case LOC_REF_ARG: case LOC_REGPARM: case LOC_REGPARM_ADDR: + case LOC_BASEREG_ARG: + case LOC_LOCAL_ARG: nparams++; break; case LOC_UNDEF: @@ -279,9 +281,7 @@ finish_block (symbol, listhead, old_blocks, start, end, objfile) case LOC_LABEL: case LOC_BLOCK: case LOC_CONST_BYTES: - case LOC_LOCAL_ARG: case LOC_BASEREG: - case LOC_BASEREG_ARG: case LOC_UNRESOLVED: case LOC_OPTIMIZED_OUT: default: @@ -303,6 +303,8 @@ finish_block (symbol, listhead, old_blocks, start, end, objfile) case LOC_REF_ARG: case LOC_REGPARM: case LOC_REGPARM_ADDR: + case LOC_BASEREG_ARG: + case LOC_LOCAL_ARG: TYPE_FIELD_TYPE (ftype, iparams) = SYMBOL_TYPE (sym); iparams++; break; @@ -315,9 +317,7 @@ finish_block (symbol, listhead, old_blocks, start, end, objfile) case LOC_LABEL: case LOC_BLOCK: case LOC_CONST_BYTES: - case LOC_LOCAL_ARG: case LOC_BASEREG: - case LOC_BASEREG_ARG: case LOC_UNRESOLVED: case LOC_OPTIMIZED_OUT: default: |