aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2023-08-01 10:08:23 -0600
committerTom Tromey <tromey@adacore.com>2023-08-18 10:08:22 -0600
commitb7cadd86197e55698db85441b2792ca330a71a75 (patch)
tree23bf9ba2a9cd3fb6e4e4d84f7fee2849db10fd2b /gdb/psymtab.c
parentcbd44c311f3d9d03fa7caf528c44b25eaac399a6 (diff)
downloadfsf-binutils-gdb-b7cadd86197e55698db85441b2792ca330a71a75.zip
fsf-binutils-gdb-b7cadd86197e55698db85441b2792ca330a71a75.tar.gz
fsf-binutils-gdb-b7cadd86197e55698db85441b2792ca330a71a75.tar.bz2
Merge psympriv.h into psymtab.h
psympriv.h was intended for use by code that created partial symbols. Now that no generic code needs psymtab.h any more, psympriv.h can be merged into psymtab.h.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r--gdb/psymtab.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index fc450ac..41ecf31 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -20,7 +20,7 @@
#include "defs.h"
#include "symtab.h"
#include "objfiles.h"
-#include "psympriv.h"
+#include "psymtab.h"
#include "block.h"
#include "filenames.h"
#include "source.h"
@@ -76,7 +76,7 @@ psymtab_storage::install_psymtab (partial_symtab *pst)
-/* See psympriv.h. */
+/* See psymtab.h. */
psymtab_storage::partial_symtab_range
psymbol_functions::partial_symbols (struct objfile *objfile)
@@ -160,7 +160,7 @@ find_pc_sect_psymtab_closer (struct objfile *objfile,
return best_pst;
}
-/* See psympriv.h. */
+/* See psymtab.h. */
struct partial_symtab *
psymbol_functions::find_pc_sect_psymtab (struct objfile *objfile,
@@ -1177,7 +1177,7 @@ psymbol_bcache::compare (const void *addr1, const void *addr2, int length)
&& sym1->ginfo.linkage_name () == sym2->ginfo.linkage_name ());
}
-/* See psympriv.h. */
+/* See psymtab.h. */
void
partial_symtab::add_psymbol (const partial_symbol &psymbol,
@@ -1205,7 +1205,7 @@ partial_symtab::add_psymbol (const partial_symbol &psymbol,
list.push_back (psym);
}
-/* See psympriv.h. */
+/* See psymtab.h. */
void
partial_symtab::add_psymbol (gdb::string_view name, bool copy_name,
@@ -1231,7 +1231,7 @@ partial_symtab::add_psymbol (gdb::string_view name, bool copy_name,
add_psymbol (psymbol, where, partial_symtabs, objfile);
}
-/* See psympriv.h. */
+/* See psymtab.h. */
partial_symtab::partial_symtab (const char *filename_,
psymtab_storage *partial_symtabs,
@@ -1265,7 +1265,7 @@ partial_symtab::partial_symtab (const char *filename_,
}
}
-/* See psympriv.h. */
+/* See psymtab.h. */
void
partial_symtab::expand_dependencies (struct objfile *objfile)