Use outermost_context_p in more places
authorTom Tromey <tom@tromey.com>
Mon, 21 May 2018 05:42:01 +0000 (23:42 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 16 Jul 2018 14:55:22 +0000 (08:55 -0600)
commitedb0470b99a9f399ccb5d666173c4315f6cb02c0
tree8a7e1590c59dd1fa72c2d85ca642157f50f8aaaa
parent6cccc9a89160455aab634784c231af4590d943f3
Use outermost_context_p in more places

This changes a few explicit checks of context_stack_depth to use
outermost_context_p instead.  This simplifies some future work.

gdb/ChangeLog
2018-07-16  Tom Tromey  <tom@tromey.com>

* xcoffread.c (read_xcoff_symtab): Use outermost_context_p.
* dwarf2read.c (using_directives, new_symbol): Use
outermost_context_p.
* dbxread.c (process_one_symbol): Use outermost_context_p.
* coffread.c (coff_symtab_read): Use outermost_context_p.
gdb/ChangeLog
gdb/coffread.c
gdb/dbxread.c
gdb/dwarf2read.c
gdb/xcoffread.c