aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorGavin Romig-Koch <gavin@redhat.com>1997-12-16 05:14:30 +0000
committerGavin Romig-Koch <gavin@redhat.com>1997-12-16 05:14:30 +0000
commiteae435160e165737504d5f423a885a6ca8267fc5 (patch)
tree3c223a443b1cfbf970a35512366b7e07e891d47b /bfd/elf.c
parent3130a391193cf83f61785181cf8f133f2d407b2e (diff)
downloadgdb-eae435160e165737504d5f423a885a6ca8267fc5.zip
gdb-eae435160e165737504d5f423a885a6ca8267fc5.tar.gz
gdb-eae435160e165737504d5f423a885a6ca8267fc5.tar.bz2
Add _bfd_dwarf2_find_nearest_line.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 3ad7c70..1a5cf5d 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -4005,6 +4005,11 @@ _bfd_elf_find_nearest_line (abfd,
bfd_vma low_func;
asymbol **p;
+ if (_bfd_dwarf2_find_nearest_line (abfd, section, symbols, offset,
+ filename_ptr, functionname_ptr,
+ line_ptr))
+ return true;
+
if (! _bfd_stab_section_find_nearest_line (abfd, symbols, section, offset,
&found, filename_ptr,
functionname_ptr, line_ptr,