projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd70071
)
* syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL
author
Alan Modra
<amodra@gmail.com>
Wed, 1 May 2002 07:36:39 +0000
(07:36 +0000)
committer
Alan Modra
<amodra@gmail.com>
Wed, 1 May 2002 07:36:39 +0000
(07:36 +0000)
file_name.
bfd/ChangeLog
patch
|
blob
|
history
bfd/syms.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index 0e493dfe0a9e1982b73f86ed3bb25368145330be..d2fcd67398a17abec6caf48948585cd964fd9b2c 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2002-05-01 Alan Modra <amodra@bigpond.net.au>
+
+ * syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL
+ file_name.
+
2002-05-01 Alan Modra <amodra@bigpond.net.au>
* elf64-ppc.c (CROR_151515, CROR_313131): Define.
diff --git
a/bfd/syms.c
b/bfd/syms.c
index 4309c0d94f884850430418c94c304a4250b8cfe5..01f7eee2cce17131088a1a1cd333a8c2072ad83d 100644
(file)
--- a/
bfd/syms.c
+++ b/
bfd/syms.c
@@
-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
{