tmp = lookup_primitive_typename (name);
tmp = language_lookup_primitive_type_by_name (current_language, current_gdbarch, name);
lookup_typename (char *name, struct block *block, int noerr){  struct symbol *sym;  struct type *tmp;  sym = lookup_symbol (name, block, VAR_DOMAIN, 0, (struct symtab **) NULL);  if (sym == NULL || SYMBOL_CLASS (sym) != LOC_TYPEDEF)    {      tmp = lookup_primitive_typename (name);      if (tmp)	{	  return (tmp);	}      else if (!tmp && noerr)	{	  return (NULL);	}      else	{	  error ("No type named %s.", name);	}    }  return (SYMBOL_TYPE (sym));}