]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/dbxread.c
gdb: remove discard_psymtab function
[thirdparty/binutils-gdb.git] / gdb / dbxread.c
index 99f47c0c9177caa728b4280faa429fe0a3189470..ecc416e0b5d76078c2f683532c703ac4607a5be2 100644 (file)
@@ -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;