This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[patch/committed] alpha-vms: allow find_nearest_line on object files
- From: Tristan Gingold <gingold at adacore dot com>
- To: binutils <binutils at sourceware dot org>
- Date: Fri, 25 Mar 2011 16:38:48 +0100
- Subject: [patch/committed] alpha-vms: allow find_nearest_line on object files
Hi,
there is no reason not to allow it, particularly if it almost works out of the box.
Committed on trunk.
Tristan.
bfd/
2011-03-25 Tristan Gingold <gingold@adacore.com>
* vms-alpha.c (_bfd_vms_find_nearest_dst_line): Allow the use
of find_nearest_line on object files.
*** vms-alpha.c 25 Mar 2011 15:31:27 -0000 1.41
--- vms-alpha.c 25 Mar 2011 15:36:02 -0000
*************** _bfd_vms_find_nearest_dst_line (bfd *abf
*** 4710,4716 ****
*func = NULL;
*line = 0;
! if (PRIV (dst_section) == NULL || !(abfd->flags & (EXEC_P | DYNAMIC)))
return FALSE;
if (PRIV (modules) == NULL)
--- 4710,4716 ----
*func = NULL;
*line = 0;
! if (PRIV (dst_section) == NULL)
return FALSE;
if (PRIV (modules) == NULL)