From: Sterling Augustine Date: Tue, 17 Dec 2013 21:43:34 +0000 (-0800) Subject: 2013-12-17 Sterling Augustine X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e617b0692b15848fe5c91eb4810cc670d34ae628;p=binutils-gdb.git 2013-12-17 Sterling Augustine * linespec.c (add_sal_to_sals): Use "" when a symbol isn't found. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9964748f481..87701b409ef 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2013-12-23 Sterling Augustine + + * linespec.c (add_sal_to_sals): Use "" when a symbol + isn't found. + 2013-12-23 Sergio Durigan JUnior * stap-probe.c (struct stap_probe) : Add comment. diff --git a/gdb/linespec.c b/gdb/linespec.c index 9468f265a14..e8bc695c20b 100644 --- a/gdb/linespec.c +++ b/gdb/linespec.c @@ -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 (""); canonical->symtab = NULL; } }