diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-20 10:39:24 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-07-16 08:55:15 -0600 |
commit | c0015d4497e0057536b5ec7e0fed8f8bca07572e (patch) | |
tree | 14662f6a62d9be9971a2a5241ec257ffcd46f5d7 /gdb/amd64-nat.c | |
parent | e62cca7ccb9ea47d18a0812a2c27f00e5048367b (diff) | |
download | gdb-c0015d4497e0057536b5ec7e0fed8f8bca07572e.zip gdb-c0015d4497e0057536b5ec7e0fed8f8bca07572e.tar.gz gdb-c0015d4497e0057536b5ec7e0fed8f8bca07572e.tar.bz2 |
Move last_source file to buildsym_compunit
This moves the global last_source_file into buildsym_compunit.
gdb/ChangeLog
2018-07-16 Tom Tromey <tom@tromey.com>
* buildsym.c (buildsym_compunit::buildsym_compunit): Add name
parameter.
(buildsym_compunit::set_last_source_file): New method.
<m_last_source_file>: New member.
(prepare_for_building): Remove "name" parameter.
(start_symtab, restart_symtab, reset_symtab_globals): Update.
(last_source_file): Remove.
(set_last_source_file, get_last_source_file): Update.
Diffstat (limited to 'gdb/amd64-nat.c')
0 files changed, 0 insertions, 0 deletions