This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]