getsym now returns a symrec pointer rather than a plain var_info struct