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/go-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/go-exp.y')
-rw-r--r-- | gdb/go-exp.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/go-exp.y b/gdb/go-exp.y index f9ffbf9..5178178 100644 --- a/gdb/go-exp.y +++ b/gdb/go-exp.y @@ -1455,9 +1455,9 @@ classify_name (struct parser_state *par_state, const struct block *block) copy = copy_name (yylval.sval); /* Try primitive types first so they win over bad/weird debug info. */ - type = language_lookup_primitive_type_by_name (parse_language (par_state), - parse_gdbarch (par_state), - copy); + type = language_lookup_primitive_type (parse_language (par_state), + parse_gdbarch (par_state), + copy); if (type != NULL) { /* NOTE: We take advantage of the fact that yylval coming in was a |