diff options
author | John Gilmore <gnu@cygnus> | 1993-02-16 05:16:55 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1993-02-16 05:16:55 +0000 |
commit | 7c622b41052032c7d28eb261319e85f9af9d12d0 (patch) | |
tree | 09026c0060f20c621bb9234ca3434f1a64ad5f2c /gdb/buildsym.c | |
parent | 3039e8eeaf3fbea75cd866bbd5b13f458f6f6584 (diff) | |
download | gdb-7c622b41052032c7d28eb261319e85f9af9d12d0.zip gdb-7c622b41052032c7d28eb261319e85f9af9d12d0.tar.gz gdb-7c622b41052032c7d28eb261319e85f9af9d12d0.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/buildsym.c')
-rw-r--r-- | gdb/buildsym.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |