summaryrefslogtreecommitdiff
path: root/gdb/ada-lang.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2019-06-27 09:05:17 -0600
committerTom Tromey <tromey@adacore.com>2019-07-01 06:29:04 -0600
commit65392b3edd1f6873204a4890efc286c8970abf4e (patch)
tree831ac07ca53c2591243bdee37ce34effce94e9b9 /gdb/ada-lang.h
parentf2f51cd5f511fc562f830818ec4467d8c3cced56 (diff)
downloadbinutils-gdb-65392b3edd1f6873204a4890efc286c8970abf4e.tar.gz
Remove is_a_field_of_this from ada_lookup_symbol
All callers of ada_lookup_symbol pass NULL for the "is_a_field_of_this" parameter, so remove it. gdb/ChangeLog 2019-07-01 Tom Tromey <tromey@adacore.com> * ada-exp.y (find_primitive_type): Update. * ada-lang.h (ada_lookup_symbol): Update. * ada-lang.c (ada_lookup_symbol): Remove "is_a_field_of_this" parameter. (ada_lookup_encoded_symbol, ada_lookup_symbol_nonlocal): Update.
Diffstat (limited to 'gdb/ada-lang.h')
-rw-r--r--gdb/ada-lang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index ff6c3399eaf..b10c680ac1c 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -239,7 +239,7 @@ extern char *ada_fold_name (const char *);
extern struct block_symbol ada_lookup_symbol (const char *,
const struct block *,
- domain_enum, int *);
+ domain_enum);
extern void ada_lookup_encoded_symbol
(const char *name, const struct block *block, domain_enum domain,