/* Definitions for symbol file management in GDB.
- Copyright (C) 1992-2020 Free Software Foundation, Inc.
+ Copyright (C) 1992-2021 Free Software Foundation, Inc.
This file is part of GDB.
struct objstats
{
- /* Number of partial symbols read. */
- int n_psyms = 0;
-
/* Number of full symbols read. */
int n_syms = 0;
OBJF_SHARED objfile of PSPACE and false otherwise. */
extern bool shared_objfile_contains_address_p (struct program_space *pspace,
- CORE_ADDR address);
+ CORE_ADDR address);
/* This operation deletes all objfile entries that represent solibs that
weren't explicitly loaded by the user, via e.g., the add-symbol-file
static inline int
in_plt_section (CORE_ADDR pc)
{
- return pc_in_section (pc, ".plt");
+ return (pc_in_section (pc, ".plt")
+ || pc_in_section (pc, ".plt.sec"));
}
/* Keep a registry of per-objfile data-pointers required by other GDB