OSDN Git Service

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)
commit60ffc12c2259eb8ab80321121aaddbff84e8f1a9
tree1ad8242f1246b97260640016e25a7323c575bd8a
parent9283744f2c87cf567ed3e9c4253f69d9ab82f17b
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