forked from Imagelibrary/binutils-gdb
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user