Lines Matching defs:pst
261 static void mdebug_expand_psymtab (legacy_psymtab *pst,
395 legacy_psymtab *pst = nullptr; /* the psymtab proper */
1923 legacy_psymtab *pst)
2008 = lookup_function_type (builtin_type (pst->objfile)->builtin_int);
2324 legacy_psymtab *pst;
2380 /* Allocate the map FDR -> PST.
2389 fdr_to_pst[-1].pst = new_pst;
2613 fdr_to_pst[f_idx].pst = NULL;
2623 pst = new legacy_psymtab (fdr_name (fh), partial_symtabs,
2625 pst->read_symtab_private = XOBNEW (&objfile->objfile_obstack, md_symloc);
2626 memset (pst->read_symtab_private, 0, sizeof (struct md_symloc));
2628 save_pst = pst;
2629 FDR_IDX (pst) = f_idx;
2630 CUR_BFD (pst) = cur_bfd;
2631 DEBUG_SWAP (pst) = debug_swap;
2632 DEBUG_INFO (pst) = debug_info;
2633 PENDING_LIST (pst) = pending_list;
2636 pst->legacy_read_symtab = mdebug_read_symtab;
2637 pst->legacy_expand_psymtab = mdebug_expand_psymtab;
2639 /* Set up language for the pst.
2649 pst data so that we can reuse it when building symtabs. */
2663 PST_PRIVATE (pst)->pst_language = psymtab_language;
2665 pst->set_text_high (pst->unrelocated_text_low ());
2731 && (!pst->text_low_valid
2732 || procaddr < pst->unrelocated_text_low ()))
2733 pst->set_text_low (procaddr);
2734 if (high > pst->unrelocated_text_high ())
2735 pst->set_text_high (high);
2914 if (pst)
2916 pst = (legacy_psymtab *) 0;
2937 the second the file name. If pst exists, is
2950 if (!pst)
2951 pst = save_pst;
2992 if (pst && filename_cmp (namestring, pst->filename) == 0)
3060 pst->add_psymbol (std::string_view (namestring,
3073 pst->add_psymbol (std::string_view (namestring,
3094 pst->add_psymbol
3104 pst->add_psymbol
3120 pst->add_psymbol
3188 pst->add_psymbol (std::string_view (p,
3209 pst->add_psymbol (std::string_view (namestring,
3219 if (! pst)
3225 pst->add_psymbol (std::string_view (namestring,
3240 if (! pst)
3246 pst->add_psymbol (std::string_view (namestring,
3309 high text address of PST to the proper value,
3312 if (pst
3315 pst = (legacy_psymtab *) 0;
3487 pst->add_psymbol (sym_name, true,
3495 pst->add_psymbol (sym_name, true,
3516 && (!pst->text_low_valid
3517 || procaddr < pst->unrelocated_text_low ()))
3518 pst->set_text_low (procaddr);
3521 if (high > pst->unrelocated_text_high ())
3522 pst->set_text_high (high);
3564 pst->add_psymbol (sym_name, true,
3572 pst, fh, sh.st, sh.value);
3607 pst->add_psymbol (sym_name, true,
3687 pst->add_psymbol (sym_name, true,
3697 /* Link pst to FDR. stabs_end_psymtab returns NULL if the psymtab was
3699 fdr_to_pst[f_idx].pst
3713 pst = fdr_to_pst[f_idx].pst;
3715 if (pst == NULL)
3724 pst->number_of_dependencies = 0;
3725 pst->dependencies
3746 if (fdr_to_pst[rh].pst == NULL)
3748 pst->dependencies[pst->number_of_dependencies++]
3749 = fdr_to_pst[rh].pst;
3768 partial_symtab *pst,
3824 pst->add_psymbol (name, true,
3850 for turning the partial symtab PST into a symtab, recurring
3860 mdebug_expand_psymtab (legacy_psymtab *pst, struct objfile *objfile)
3874 if (pst->readin)
3876 pst->readin = true;
3880 that by setting pst->readin before this point. */
3881 pst->expand_dependencies (objfile);
3885 if (pst->empty () && !pst->text_low_valid && !pst->text_high_valid)
3890 cur_bfd = CUR_BFD (pst);
3891 debug_swap = DEBUG_SWAP (pst);
3892 debug_info = DEBUG_INFO (pst);
3893 pending_list = PENDING_LIST (pst);
3899 cur_fd = FDR_IDX (pst);
3953 enum language language = PST_PRIVATE (pst)->pst_language;
4033 cust = end_compunit_symtab (pst->text_high (objfile));
4074 parse_procedure (pdr_in, cust, pst);
4092 cust = new_symtab (pst->filename, maxlines, objfile);
4097 (PST_PRIVATE (pst)->pst_language);
4112 top_stack->cur_block->set_start (pst->text_low (objfile));
4181 parse_procedure (pdr_in, NULL, pst);
4203 ext_ptr = PST_PRIVATE (pst)->extern_tab;
4204 for (i = PST_PRIVATE (pst)->extern_count; --i >= 0; ext_ptr++)
4229 pst->compunit_symtab = cust;