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

@ -1,3 +1,8 @@
2013-12-23 Sterling Augustine <saugustine@google.com>
* linespec.c (add_sal_to_sals): Use "<unknown>" when a symbol
isn't found.
2013-12-23 Sergio Durigan JUnior <sergiodj@redhat.com>
* stap-probe.c (struct stap_probe) <args_parsed>: Add comment.

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;
}
}