]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb/xcoffread: remove xcoff_symfile_info::{symtbl,symtbl_num_syms}
authorSimon Marchi <simon.marchi@efficios.com>
Thu, 8 Jan 2026 19:33:22 +0000 (14:33 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Fri, 9 Jan 2026 02:05:47 +0000 (21:05 -0500)
commit8f2ccd7149e2f8aeeae52fa2a2e72a1818937702
tree422303778c10c3ae55adf24a1c5502d4576e6e8c
parent39f0a311d794d508d5142bf4467d55978ea1cf16
gdb/xcoffread: remove xcoff_symfile_info::{symtbl,symtbl_num_syms}

It is not necessary to save the symbol table content and number of
symbols in xcoff_symfile_info, because they are only needed for the
duration of scan_xcoff_symtab.

Move the reading of the symbol table content to scan_xcoff_symtab, and
keep everything as local variables.

Change-Id: I21e2b95a0b8df2255ba46904083658a4e8cb89f0
Approved-By: Tom Tromey <tom@tromey.com>
gdb/xcoffread.c