More type safety for symbol_search
authorTom Tromey <tom@tromey.com>
Sat, 16 Sep 2023 21:00:13 +0000 (15:00 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 18 Sep 2023 18:34:33 +0000 (12:34 -0600)
commite8aafb7d7a5025130ba713450fc6108506f0ee15
treea14ad152d09af29389a1681dd268845e8e7dd1f5
parent4eaa39a22ddcac55f3b0dbbf5f4200ebff1be343
More type safety for symbol_search

This patch changes class symbol_search to store a block_enum rather
than an int.

Regression tested on x86-64 Fedora 38.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
gdb/symtab.h