This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Move last_source file to buildsym_compunit
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Mon, 16 Jul 2018 13:29:52 -0400
- Subject: [binutils-gdb] Move last_source file to buildsym_compunit
*** TEST RESULTS FOR COMMIT c0015d4497e0057536b5ec7e0fed8f8bca07572e ***
Author: Tom Tromey <tom@tromey.com>
Branch: master
Commit: c0015d4497e0057536b5ec7e0fed8f8bca07572e
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.