]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Don't call set_last_source_file from xcoffread.c
authorTom Tromey <tom@tromey.com>
Wed, 7 Jan 2026 16:41:58 +0000 (09:41 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 8 Jan 2026 13:40:44 +0000 (06:40 -0700)
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 <simon.marchi@efficios.com>
gdb/xcoffread.c

index 2418c2b6e9e949211d040ff792a25dd127f09fe8..74ce92bace0236990e2b6b48dda67974b3a78332 100644 (file)
@@ -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;