aboutsummaryrefslogtreecommitdiff
path: root/gdb/cp-namespace.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-20 20:48:44 -0600
committerTom Tromey <tom@tromey.com>2018-07-16 08:55:21 -0600
commit8419ee5331d5b3253d2bfe1a039f12a167292dfc (patch)
tree4189e39729bab4385610cf6e17bc5e9b1761feb7 /gdb/cp-namespace.c
parentccdac490bb3b568e88626afc84017c79e2d086e7 (diff)
downloadbinutils-8419ee5331d5b3253d2bfe1a039f12a167292dfc.zip
binutils-8419ee5331d5b3253d2bfe1a039f12a167292dfc.tar.gz
binutils-8419ee5331d5b3253d2bfe1a039f12a167292dfc.tar.bz2
Move the subfile stack to buildsym_compunit
This moves the global subfile_stack to be a member of buildsym_compunit. It also change this to be a std::vector, which simplifies the code. gdb/ChangeLog 2018-07-16 Tom Tromey <tom@tromey.com> * buildsym.h (push_subfile, pop_subfile): Update declarations. * buildsym.c (struct buildsym_compunit) <m_subfile_stack>: New member. (struct subfile_stack): Remove. (subfile_stack): Remove. (push_subfile, pop_subfile, buildsym_init): Update.
Diffstat (limited to 'gdb/cp-namespace.c')
0 files changed, 0 insertions, 0 deletions