diff options
author | Alan Modra <amodra@gmail.com> | 2002-05-01 07:36:39 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-05-01 07:36:39 +0000 |
commit | 818c39a387392564763ae26fd9ef1837b448fb48 (patch) | |
tree | cef1afd1bd8581766698f2d4a8901daca739cc85 /bfd/syms.c | |
parent | dd70071f8b84788aae196c6e07924a8526e76b59 (diff) | |
download | gdb-818c39a387392564763ae26fd9ef1837b448fb48.zip gdb-818c39a387392564763ae26fd9ef1837b448fb48.tar.gz gdb-818c39a387392564763ae26fd9ef1837b448fb48.tar.bz2 |
* syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL
file_name.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r-- | bfd/syms.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1297,7 +1297,8 @@ _bfd_stab_section_find_nearest_line (abfd, symbols, section, offset, pfound, *pfound = true; - if (IS_ABSOLUTE_PATH(file_name) || directory_name == NULL) + if (file_name == NULL || IS_ABSOLUTE_PATH (file_name) + || directory_name == NULL) *pfilename = file_name; else { |