summaryrefslogtreecommitdiff
path: root/gdb/psympriv.h
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2020-03-29 15:23:31 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2020-03-29 15:23:32 -0400
commit3ad830466f440959b18b93c8361f9055fc135e54 (patch)
treeee99665f01c431b1c08635f352ae8f92618accbe /gdb/psympriv.h
parent37d59eacfeabce05990b10e242da97c0bf6e5979 (diff)
downloadbinutils-gdb-3ad830466f440959b18b93c8361f9055fc135e54.tar.gz
gdb: remove discard_psymtab function
This function does not add much value, compared to calling the method on the psymtab_storage object directly. gdb/ChangeLog: * psympriv.h (discard_psymtab): Remove. * dbxread.c (dbx_end_psymtab): Update. * xcoffread.c (xcoff_end_psymtab): Update.
Diffstat (limited to 'gdb/psympriv.h')
-rw-r--r--gdb/psympriv.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/gdb/psympriv.h b/gdb/psympriv.h
index 0effedc4ec2..79f83a4d6cf 100644
--- a/gdb/psympriv.h
+++ b/gdb/psympriv.h
@@ -422,12 +422,6 @@ extern void init_psymbol_list (struct objfile *objfile, int total_symbols);
extern void end_psymtab_common (struct objfile *, struct partial_symtab *);
-static inline void
-discard_psymtab (struct objfile *objfile, struct partial_symtab *pst)
-{
- objfile->partial_symtabs->discard_psymtab (pst);
-}
-
/* Used when recording partial symbol tables. On destruction,
discards any partial symbol tables that have been built. However,
the tables can be kept by calling the "keep" method. */