aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-12-18 01:10:34 -0800
committerDoug Evans <xdje42@gmail.com>2014-12-18 01:10:34 -0800
commit46b0da1738df4a49025f1674a67cd841688dd3d9 (patch)
tree7f4072c6ac6f45a9b930321b4a307a5805ac1e6f /gdb/language.c
parent99d4b98d4b61b13947514670ef14a61e42ebd1ed (diff)
downloadgdb-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/language.c')
-rw-r--r--gdb/language.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gdb/language.c b/gdb/language.c
index 8d476d3..df45ddd 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -988,9 +988,9 @@ language_bool_type (const struct language_defn *la,
}
struct type *
-language_lookup_primitive_type_by_name (const struct language_defn *la,
- struct gdbarch *gdbarch,
- const char *name)
+language_lookup_primitive_type (const struct language_defn *la,
+ struct gdbarch *gdbarch,
+ const char *name)
{
struct language_gdbarch *ld = gdbarch_data (gdbarch,
language_gdbarch_data);
@@ -999,8 +999,7 @@ language_lookup_primitive_type_by_name (const struct language_defn *la,
if (symbol_lookup_debug)
{
fprintf_unfiltered (gdb_stdlog,
- "language_lookup_primitive_type_by_name"
- " (%s, %s, %s)",
+ "language_lookup_primitive_type (%s, %s, %s)",
la->la_name, host_address_to_string (gdbarch), name);
}