Lines Matching refs:pst
570 /* Close off the current usage of PST.
571 Returns PST or NULL if the partial symtab was empty and thrown away.
577 legacy_psymtab *pst,
589 LDSYMLEN (pst) = capping_symbol_offset - LDSYMOFF (pst);
590 pst->set_text_high (capping_text);
596 or global function, and the textlow for the current pst
598 address for the textlow of the pst. */
607 if (!pst->text_high_valid && key->ctx.last_function_name
623 pst->filename);
632 pst->filename);
636 pst->set_text_high
647 pst->set_text_low (pst->unrelocated_text_high ());
656 if (!p1->text_high_valid && p1->text_low_valid && p1 != pst)
657 p1->set_text_high (pst->unrelocated_text_low ());
662 pst->end ();
664 pst->number_of_dependencies = number_dependencies;
667 pst->dependencies
669 memcpy (pst->dependencies, dependency_list,
673 pst->dependencies = 0;
689 subpst->dependencies[0] = pst;
692 subpst->legacy_read_symtab = pst->legacy_read_symtab;
693 subpst->legacy_expand_psymtab = pst->legacy_expand_psymtab;
698 && pst->empty ()
708 partial_symtabs->discard_psymtab (pst);
711 pst = NULL;
713 return pst;
816 read_ofile_symtab (struct objfile *objfile, legacy_psymtab *pst)
830 sym_offset = LDSYMOFF (pst);
831 sym_size = LDSYMLEN (pst);
832 text_offset = pst->text_low (objfile);
833 text_size = pst->text_high (objfile) - pst->text_low (objfile);
925 PST_LANGUAGE (pst));
960 comes from low text address of PST, is correct. */
966 from the low text address of PST, which is correct. */
970 pst->compunit_symtab = end_compunit_symtab (text_offset + text_size);
977 dbx_expand_psymtab (legacy_psymtab *pst, struct objfile *objfile)
979 gdb_assert (!pst->readin);
983 pst->expand_dependencies (objfile);
985 if (LDSYMLEN (pst)) /* Otherwise it's a dummy. */
990 key->ctx.file_string_table_offset = FILE_STRING_OFFSET (pst);
991 key->ctx.symbol_size = SYMBOL_SIZE (pst);
994 if (bfd_seek (objfile->obfd.get (), SYMBOL_OFFSET (pst), SEEK_SET) == 0)
995 read_ofile_symtab (objfile, pst);
998 pst->readin = true;
1161 return bincl.pst;
1226 legacy_psymtab *pst;
1246 pst = (legacy_psymtab *) 0;
1384 if (past_first_source_file && pst
1387 && unrel_val >= pst->unrelocated_text_low ())
1390 pst, psymtab_include_list,
1392 unrel_val > pst->unrelocated_text_high ()
1393 ? unrel_val : pst->unrelocated_text_high (),
1396 pst = (legacy_psymtab *) 0;
1503 if (pst)
1507 pst, psymtab_include_list,
1509 unrel_value > pst->unrelocated_text_high ()
1511 : pst->unrelocated_text_high (),
1514 pst = (legacy_psymtab *) 0;
1533 If pst exists, is empty, and has a filename ending in '/',
1549 if (!pst)
1551 pst = start_psymtab (partial_symtabs, objfile,
1555 pst->dirname = dirname_nso;
1581 if (pst == NULL)
1583 /* FIXME: we should not get here without a PST to work on.
1590 dbx->ctx.bincl_list.emplace_back (namestring, nlist.n_value, pst);
1624 if (pst && filename_cmp (namestring, pst->filename) == 0)
1676 if (pst && nlist.n_type == N_FUN && *namestring == '\000')
1684 if (pst->unrelocated_text_high () == unrelocated_addr (0)
1685 || valu > pst->unrelocated_text_high ())
1686 pst->set_text_high (valu);
1737 if (pst != nullptr)
1738 pst->add_psymbol (std::string_view (sym_name, sym_len), true,
1754 if (pst != nullptr)
1755 pst->add_psymbol (std::string_view (sym_name, sym_len), true,
1779 if (pst != nullptr)
1780 pst->add_psymbol (std::string_view (sym_name, sym_len),
1794 if (pst != nullptr)
1795 pst->add_psymbol (std::string_view (sym_name, sym_len),
1813 if (pst != nullptr)
1814 pst->add_psymbol (std::string_view (sym_name, sym_len),
1881 if (pst != nullptr)
1882 pst->add_psymbol (std::string_view (p, q - p), true,
1906 if (pst != nullptr)
1907 pst->add_psymbol (std::string_view (sym_name, sym_len), true,
1921 if (! pst)
1935 pst ? pst->filename : NULL, objfile);
1940 if (pst && textlow_not_set
1943 pst->set_text_low (unrelocated_addr (nlist.n_value));
1956 if (pst
1959 < pst->unrelocated_text_low ()
1962 pst->set_text_low (unrelocated_addr (nlist.n_value));
1965 if (pst != nullptr)
1966 pst->add_psymbol (std::string_view (sym_name, sym_len), true,
1979 if (! pst)
1993 pst ? pst->filename : NULL, objfile);
1998 if (pst && textlow_not_set
2001 pst->set_text_low (unrelocated_addr (nlist.n_value));
2014 if (pst
2017 < pst->unrelocated_text_low ()
2020 pst->set_text_low (unrelocated_addr (nlist.n_value));
2023 if (pst != nullptr)
2024 pst->add_psymbol (std::string_view (sym_name, sym_len), true,
2091 if (needed_pst == pst)
2138 PST to the proper value, which is necessary if a module
2140 if (pst && gdbarch_sofun_address_maybe_missing (gdbarch))
2142 stabs_end_psymtab (objfile, partial_symtabs, pst,
2147 pst = (legacy_psymtab *) 0;
2198 if (pst)
2200 /* Don't set high text address of PST lower than it already
2210 pst, psymtab_include_list, includes_used,
2212 (text_end > pst->unrelocated_text_high ()
2213 ? text_end : pst->unrelocated_text_high ()),