mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 05:00:01 +00:00
* syms.c (_bfd_stab_section_find_nearest_line): Don't bomb on NULL
file_name.
This commit is contained in:
parent
dd70071f8b
commit
818c39a387
@ -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.
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user