diff options
author | Simon Marchi <simon.marchi@polymtl.ca> | 2020-03-29 15:23:31 -0400 |
---|---|---|
committer | Simon Marchi <simon.marchi@polymtl.ca> | 2020-03-29 15:23:32 -0400 |
commit | 3ad830466f440959b18b93c8361f9055fc135e54 (patch) | |
tree | ee99665f01c431b1c08635f352ae8f92618accbe /gdb/dbxread.c | |
parent | 37d59eacfeabce05990b10e242da97c0bf6e5979 (diff) | |
download | gdb-3ad830466f440959b18b93c8361f9055fc135e54.zip gdb-3ad830466f440959b18b93c8361f9055fc135e54.tar.gz gdb-3ad830466f440959b18b93c8361f9055fc135e54.tar.bz2 |
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/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index 99f47c0..ecc416e 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -2057,7 +2057,7 @@ dbx_end_psymtab (struct objfile *objfile, legacy_psymtab *pst, is not empty, but we don't realize that. Fixing that without slowing things down might be tricky. */ - discard_psymtab (objfile, pst); + objfile->partial_symtabs->discard_psymtab (pst); /* Indicate that psymtab was thrown away. */ pst = NULL; |