From e617b0692b15848fe5c91eb4810cc670d34ae628 Mon Sep 17 00:00:00 2001 From: Sterling Augustine Date: Tue, 17 Dec 2013 13:43:34 -0800 Subject: 2013-12-17 Sterling Augustine * linespec.c (add_sal_to_sals): Use "" when a symbol isn't found. --- gdb/linespec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/linespec.c') diff --git a/gdb/linespec.c b/gdb/linespec.c index 9468f26..e8bc695 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; } } -- cgit v1.1