2002-11-18 Klee Dienes <kdienes@apple.com>
authorKlee Dienes <kdienes@apple.com>
Mon, 18 Nov 2002 19:14:10 +0000 (19:14 +0000)
committerKlee Dienes <kdienes@apple.com>
Mon, 18 Nov 2002 19:14:10 +0000 (19:14 +0000)
commit0c5e171aedb2697b4ebf072e47f498aaf62b7a05
treeeb5298b4d660ad5ee83458a089cf5509c1398a6f
parent11041102f23fd5f34fd4b81b04788e403a70edee
2002-11-18  Klee Dienes  <kdienes@apple.com>

        * buildsym.h (pop_context): Convert to function, defined in
        buildsym.c.
        * buildsym.c: Include gdb_assert.h.
        (pop_context): Implement as C function.  Add check for stack
        underflow.
        * dbxread.c (process_one_symbol): Complain and stop processing
        that symbol if we are already at the top of the context stack for
        a function-end N_FUN (this would imply an umatched RBRAC).  Ditto
        when processing N_RBRAC.
gdb/ChangeLog
gdb/buildsym.c
gdb/buildsym.h
gdb/dbxread.c