aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-07-12 10:47:21 -0600
committerTom Tromey <tromey@adacore.com>2019-09-10 08:30:45 -0600
commit6969f124b987494df069b032e2e0f36485d3d8bb (patch)
treed0b2cbfb2b96651860e7336f4c6042c178676dc6 /gdb/language.h
parent199b4314efbd419d6957e366e13a14cd87cea5e4 (diff)
downloadgdb-6969f124b987494df069b032e2e0f36485d3d8bb.zip
gdb-6969f124b987494df069b032e2e0f36485d3d8bb.tar.gz
gdb-6969f124b987494df069b032e2e0f36485d3d8bb.tar.bz2
Change iterate_over_symbols to return bool
This changes iterate_over_symbols to return a bool. This allows it to be reused in another context in a subsequent patch. gdb/ChangeLog 2019-09-10 Tom Tromey <tromey@adacore.com> * ada-lang.c (ada_iterate_over_symbols): Return bool. * language.h (struct language_defn) <la_iterate_over_symbols>: Return bool. * symtab.c (iterate_over_symbols): Return bool. * symtab.h (iterate_over_symbols): Return bool.
Diffstat (limited to 'gdb/language.h')
-rw-r--r--gdb/language.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/language.h b/gdb/language.h
index 2a100b0..0088e5d 100644
--- a/gdb/language.h
+++ b/gdb/language.h
@@ -407,7 +407,7 @@ struct language_defn
This field may not be NULL. If the language does not need any
special processing here, 'iterate_over_symbols' should be
used as the definition. */
- void (*la_iterate_over_symbols)
+ bool (*la_iterate_over_symbols)
(const struct block *block, const lookup_name_info &name,
domain_enum domain,
gdb::function_view<symbol_found_callback_ftype> callback);