mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-03 13:23:00 +08:00
gdb: rename compunit_primary_filetab to compunit_symtab::primary_filetab
Make compunit_primary_filetab a method of compunit_symtab. Change-Id: Iee3c4f7e36d579bf763c5bba146e5e10d6766768
This commit is contained in:

committed by
Simon Marchi

parent
9821f3fa56
commit
0b17a4f78f
@ -289,7 +289,7 @@ objfile::lookup_symbol (block_enum kind, const char *name, domain_enum domain)
|
||||
if (debug_symfile)
|
||||
fprintf_filtered (gdb_stdlog, "qf->lookup_symbol (...) = %s\n",
|
||||
retval
|
||||
? debug_symtab_name (compunit_primary_filetab (retval))
|
||||
? debug_symtab_name (retval->primary_filetab ())
|
||||
: "NULL");
|
||||
|
||||
return retval;
|
||||
@ -454,7 +454,7 @@ objfile::find_pc_sect_compunit_symtab (struct bound_minimal_symbol msymbol,
|
||||
fprintf_filtered (gdb_stdlog,
|
||||
"qf->find_pc_sect_compunit_symtab (...) = %s\n",
|
||||
retval
|
||||
? debug_symtab_name (compunit_primary_filetab (retval))
|
||||
? debug_symtab_name (retval->primary_filetab ())
|
||||
: "NULL");
|
||||
|
||||
return retval;
|
||||
@ -495,7 +495,7 @@ objfile::find_compunit_symtab_by_address (CORE_ADDR address)
|
||||
fprintf_filtered (gdb_stdlog,
|
||||
"qf->find_compunit_symtab_by_address (...) = %s\n",
|
||||
result
|
||||
? debug_symtab_name (compunit_primary_filetab (result))
|
||||
? debug_symtab_name (result->primary_filetab ())
|
||||
: "NULL");
|
||||
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user