]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gdb: remove exact_match parameter from find_line_symtab
authorKlaus Gerlicher <klaus.gerlicher@intel.com>
Thu, 10 Oct 2024 08:23:11 +0000 (08:23 +0000)
committerKlaus Gerlicher <klaus.gerlicher@intel.com>
Wed, 6 Nov 2024 10:15:25 +0000 (10:15 +0000)
commit7ea50bf94f22c651cd3aa8ca54e31682c28820fb
tree5ebc2e8899368cfce3fca7724c525516c2651414
parent52a8387dfdd34f3c62a92614c83b5ca93c9ba18c
gdb: remove exact_match parameter from find_line_symtab

struct symtab *find_line_symtab (struct symtab *, int, int *, bool *);

The last parameter is bool* that when set will receive information
if the match was exact. This parameter is never used by any callsite
and can therefore be removed.

This will become:

symtab *find_line_symtab (symtab *sym_tab, int line, int *index);

Approved-By: Tom Tromey <tom@tromey.com>
gdb/linespec.c
gdb/symtab.c
gdb/symtab.h