diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-20 20:48:44 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-07-16 08:55:21 -0600 |
commit | 8419ee5331d5b3253d2bfe1a039f12a167292dfc (patch) | |
tree | 4189e39729bab4385610cf6e17bc5e9b1761feb7 /gdb/ChangeLog | |
parent | ccdac490bb3b568e88626afc84017c79e2d086e7 (diff) | |
download | gdb-8419ee5331d5b3253d2bfe1a039f12a167292dfc.zip gdb-8419ee5331d5b3253d2bfe1a039f12a167292dfc.tar.gz gdb-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/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d382384..7d12bee 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,14 @@ 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. + +2018-07-16 Tom Tromey <tom@tromey.com> + * buildsym.c (push_subfile): Use gdb_assert. (pop_subfile): Use gdb_assert. |