2013-12-17 Sterling Augustine <saugustine@google.com>

* linespec.c (add_sal_to_sals): Use "<unknown>" when a symbol
	isn't found.
This commit is contained in:
Sterling Augustine
2013-12-17 13:43:34 -08:00
parent 4415de747e
commit e617b0692b
2 changed files with 6 additions and 1 deletions

View File

@@ -885,7 +885,7 @@ add_sal_to_sals (struct linespec_state *self,
if (symname != NULL)
canonical->suffix = xstrdup (symname);
else
canonical->suffix = NULL;
canonical->suffix = xstrdup ("<unknown>");
canonical->symtab = NULL;
}
}