GDB (xrefs)
Loading...
Searching...
No Matches
Functions
psymtab.c File Reference
#include "defs.h"
#include "symtab.h"
#include "objfiles.h"
#include "psymtab.h"
#include "block.h"
#include "filenames.h"
#include "source.h"
#include "addrmap.h"
#include "gdbtypes.h"
#include "ui-out.h"
#include "command.h"
#include "readline/tilde.h"
#include "gdbsupport/gdb_regex.h"
#include "dictionary.h"
#include "language.h"
#include "cp-support.h"
#include "gdbcmd.h"
#include <algorithm>
#include <set>
#include "gdbsupport/buildargv.h"

Go to the source code of this file.

Functions

static struct partial_symbollookup_partial_symbol (struct objfile *, struct partial_symtab *, const lookup_name_info &, int, domain_enum)
 
static const char * psymtab_to_fullname (struct partial_symtab *ps)
 
static struct partial_symbolfind_pc_sect_psymbol (struct objfile *, struct partial_symtab *, CORE_ADDR, struct obj_section *)
 
static struct compunit_symtabpsymtab_to_symtab (struct objfile *objfile, struct partial_symtab *pst)
 
static struct partial_symtabfind_pc_sect_psymtab_closer (struct objfile *objfile, CORE_ADDR pc, struct obj_section *section, struct partial_symtab *pst, struct bound_minimal_symbol msymbol)
 
static bool psymbol_name_matches (partial_symbol *psym, const lookup_name_info &lookup_name)
 
static struct partial_symbolmatch_partial_symbol (struct objfile *objfile, struct partial_symtab *pst, int global, const lookup_name_info &name, domain_enum domain, symbol_compare_ftype *ordered_compare)
 
static void print_partial_symbols (struct gdbarch *gdbarch, struct objfile *objfile, const std::vector< partial_symbol * > &symbols, const char *what, struct ui_file *outfile)
 
static void dump_psymtab (struct objfile *objfile, struct partial_symtab *psymtab, struct ui_file *outfile)
 
static bool recursively_search_psymtabs (struct partial_symtab *ps, struct objfile *objfile, block_search_flags search_flags, domain_enum domain, enum search_domain search, const lookup_name_info &lookup_name, gdb::function_view< expand_symtabs_symbol_matcher_ftype > sym_matcher)
 
static void maintenance_print_psymbols (const char *args, int from_tty)
 
static void maintenance_info_psymtabs (const char *regexp, int from_tty)
 
static void maintenance_check_psymtabs (const char *ignore, int from_tty)
 
void _initialize_psymtab ()
 

Function Documentation

◆ _initialize_psymtab()

void _initialize_psymtab ( )

Definition at line 1680 of file psymtab.c.

Referenced by initialize_all_files().

◆ dump_psymtab()

static void dump_psymtab ( struct objfile * objfile,
struct partial_symtab * psymtab,
struct ui_file * outfile )
static

◆ find_pc_sect_psymbol()

static struct partial_symbol * find_pc_sect_psymbol ( struct objfile * objfile,
struct partial_symtab * psymtab,
CORE_ADDR pc,
struct obj_section * section )
static

◆ find_pc_sect_psymtab_closer()

static struct partial_symtab * find_pc_sect_psymtab_closer ( struct objfile * objfile,
CORE_ADDR pc,
struct obj_section * section,
struct partial_symtab * pst,
struct bound_minimal_symbol msymbol )
static

◆ lookup_partial_symbol()

static struct partial_symbol * lookup_partial_symbol ( struct objfile * objfile,
struct partial_symtab * pst,
const lookup_name_info & lookup_name,
int global,
domain_enum domain )
static

◆ maintenance_check_psymtabs()

static void maintenance_check_psymtabs ( const char * ignore,
int from_tty )
static

◆ maintenance_info_psymtabs()

static void maintenance_info_psymtabs ( const char * regexp,
int from_tty )
static

◆ maintenance_print_psymbols()

static void maintenance_print_psymbols ( const char * args,
int from_tty )
static

◆ match_partial_symbol()

static struct partial_symbol * match_partial_symbol ( struct objfile * objfile,
struct partial_symtab * pst,
int global,
const lookup_name_info & name,
domain_enum domain,
symbol_compare_ftype * ordered_compare )
static

◆ print_partial_symbols()

static void print_partial_symbols ( struct gdbarch * gdbarch,
struct objfile * objfile,
const std::vector< partial_symbol * > & symbols,
const char * what,
struct ui_file * outfile )
static

◆ psymbol_name_matches()

static bool psymbol_name_matches ( partial_symbol * psym,
const lookup_name_info & lookup_name )
static

◆ psymtab_to_fullname()

static const char * psymtab_to_fullname ( struct partial_symtab * ps)
static

◆ psymtab_to_symtab()

static struct compunit_symtab * psymtab_to_symtab ( struct objfile * objfile,
struct partial_symtab * pst )
static

◆ recursively_search_psymtabs()

static bool recursively_search_psymtabs ( struct partial_symtab * ps,
struct objfile * objfile,
block_search_flags search_flags,
domain_enum domain,
enum search_domain search,
const lookup_name_info & lookup_name,
gdb::function_view< expand_symtabs_symbol_matcher_ftype > sym_matcher )
static