[patch/committed] alpha-vms: allow find_nearest_line on object files

Tristan Gingold gingold@adacore.com
Fri Mar 25 15:38:00 GMT 2011
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)



More information about the Binutils mailing list