mirror of
https://github.com/bminor/binutils-gdb.git
synced 2026-02-05 04:11:31 +00:00
gdb/buildsym: remove get_last_source_start_addr/set_last_source_start_addr methods
Nothing seems to use this anymore. However, the private field is still used internally by buildsym, so keep it. Change-Id: Ie6fbd96110a3c5603359a483855bbecc4008e5b4 Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
committed by
Simon Marchi
parent
becf559f73
commit
bed351f20f
@@ -219,16 +219,6 @@ struct buildsym_compunit
|
||||
return m_compunit_symtab;
|
||||
}
|
||||
|
||||
void set_last_source_start_addr (CORE_ADDR addr)
|
||||
{
|
||||
m_last_source_start_addr = addr;
|
||||
}
|
||||
|
||||
CORE_ADDR get_last_source_start_addr ()
|
||||
{
|
||||
return m_last_source_start_addr;
|
||||
}
|
||||
|
||||
struct using_direct **get_local_using_directives ()
|
||||
{
|
||||
return &m_local_using_directives;
|
||||
@@ -357,9 +347,9 @@ private:
|
||||
empty symtab from being tossed. */
|
||||
bool m_have_line_numbers = false;
|
||||
|
||||
/* Core address of start of text of current source file. This too
|
||||
comes from the N_SO symbol. For Dwarf it typically comes from the
|
||||
DW_AT_low_pc attribute of a DW_TAG_compile_unit DIE. */
|
||||
/* Core address of start of text of current source file. For DWARF it
|
||||
typically comes from the DW_AT_low_pc attribute of a
|
||||
DW_TAG_compile_unit DIE. */
|
||||
CORE_ADDR m_last_source_start_addr;
|
||||
|
||||
/* Stack of subfile names. */
|
||||
|
||||
Reference in New Issue
Block a user