* symfile.c (decrement_reading_symtab): New function.
authorPer Bothner <per@bothner.com>
Fri, 12 Jan 1996 07:16:20 +0000 (07:16 +0000)
committerPer Bothner <per@bothner.com>
Fri, 12 Jan 1996 07:16:20 +0000 (07:16 +0000)
commit7ef893139cfc56fba6db4909dfbcbe210d7e8143
treeeba9b2a30953cb278aff5ceb9455ad5e129b52d6
parent34cfa2dab5a0d1f6c53b24847d6fd590c7a618c0
* symfile.c (decrement_reading_symtab):  New function.
* symfile.c, symtab.h (currently_reading_symtab):  New variable.
* symfile.c (psymtab_to_symtab):  Adjust currently_reading_symtab.
* gdbtypes.c (check_typedef):  Don't call lookup_symbol if
currently_reading_symtab (since that could infinitely recurse).
This fixes PR chill/8793.
gdb/ChangeLog
gdb/gdbtypes.c
gdb/symfile.c