From: Tom Tromey Date: Wed, 7 Jan 2026 16:41:58 +0000 (-0700) Subject: Don't call set_last_source_file from xcoffread.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2469417f58e474f2e87aa89287485fad569ba403;p=thirdparty%2Fbinutils-gdb.git Don't call set_last_source_file from xcoffread.c xcoffread.c is no longer really using the buildsym code. This removes the last call, which should not be needed, and then removes the include. Approved-By: Simon Marchi --- diff --git a/gdb/xcoffread.c b/gdb/xcoffread.c index 2418c2b6e9e..74ce92bace0 100644 --- a/gdb/xcoffread.c +++ b/gdb/xcoffread.c @@ -31,7 +31,6 @@ #include "gdbtypes.h" #include "symfile.h" #include "objfiles.h" -#include "buildsym-legacy.h" #include "complaints.h" #include "dwarf2/sect-names.h" #include "dwarf2/public.h" @@ -262,8 +261,6 @@ scan_xcoff_symtab (struct objfile *objfile) union internal_auxent main_aux[5]; unsigned int ssymnum; - set_last_source_file (NULL); - abfd = objfile->obfd.get (); sraw_symbol = XCOFF_DATA (objfile)->symtbl;