diff options
author | Doug Evans <xdje42@gmail.com> | 2014-12-18 01:10:34 -0800 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-12-18 01:10:34 -0800 |
commit | 46b0da1738df4a49025f1674a67cd841688dd3d9 (patch) | |
tree | 7f4072c6ac6f45a9b930321b4a307a5805ac1e6f /gdb/ada-exp.y | |
parent | 99d4b98d4b61b13947514670ef14a61e42ebd1ed (diff) | |
download | gdb-46b0da1738df4a49025f1674a67cd841688dd3d9.zip gdb-46b0da1738df4a49025f1674a67cd841688dd3d9.tar.gz gdb-46b0da1738df4a49025f1674a67cd841688dd3d9.tar.bz2 |
language_lookup_primitive_type: Renamed from language_lookup_primitive_type_by_name.
gdb/ChangeLog:
* language.c (language_lookup_primitive_type): Renamed from
language_lookup_primitive_type_by_name. All callers updated.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r-- | gdb/ada-exp.y | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index 0a49952..c02f6a1 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -1086,9 +1086,9 @@ static struct type* find_primitive_type (struct parser_state *par_state, char *name) { struct type *type; - type = language_lookup_primitive_type_by_name (parse_language (par_state), - parse_gdbarch (par_state), - name); + type = language_lookup_primitive_type (parse_language (par_state), + parse_gdbarch (par_state), + name); if (type == NULL && strcmp ("system__address", name) == 0) type = type_system_address (par_state); @@ -1525,9 +1525,9 @@ static struct type * type_system_address (struct parser_state *par_state) { struct type *type - = language_lookup_primitive_type_by_name (parse_language (par_state), - parse_gdbarch (par_state), - "system__address"); + = language_lookup_primitive_type (parse_language (par_state), + parse_gdbarch (par_state), + "system__address"); return type != NULL ? type : parse_type (par_state)->builtin_data_ptr; } |