From 7c622b41052032c7d28eb261319e85f9af9d12d0 Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Tue, 16 Feb 1993 05:16:55 +0000 Subject: * remote.c: Improve error recovery. Allow user to break out of initial connection attempt with INTERRUPT. Treat a timeout while waiting for remote packet like a retry, unless the remote side is actively running user code. Fix a few long printf_filtered's. * xcoffread.c (read_xcoff_symtab): Don't use null symbol name for trampoline symbols. * buildsym.c (start_subfile): Allow null file name. --- gdb/buildsym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/buildsym.c') diff --git a/gdb/buildsym.c b/gdb/buildsym.c index 1e56954..21020be 100644 --- a/gdb/buildsym.c +++ b/gdb/buildsym.c @@ -389,7 +389,7 @@ start_subfile (name, dirname) current_subfile = subfile; /* Save its name and compilation directory name */ - subfile->name = strdup (name); + subfile->name = (name == NULL)? NULL : strdup (name); subfile->dirname = (dirname == NULL) ? NULL : strdup (dirname); /* Initialize line-number recording for this subfile. */ -- cgit v1.1