wok-current diff amule/stuff/patches/MuleDebug.cpp-2.3.2 @ rev 25176

updated python-formalchemy (1.5.5 -> 1.5.6)
author Hans-G?nter Theisgen
date Fri Jul 01 17:52:21 2022 +0100 (2022-07-01)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/amule/stuff/patches/MuleDebug.cpp-2.3.2	Fri Jul 01 17:52:21 2022 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +--- src/libs/common/MuleDebug.cpp.orig
     1.5 ++++ src/libs/common/MuleDebug.cpp
     1.6 +@@ -268,7 +268,7 @@
     1.7 + 		return;
     1.8 + 	}
     1.9 + 
    1.10 +-	bfd_vma vma = bfd_get_section_vma(abfd, section);
    1.11 ++	bfd_vma vma = bfd_section_vma(section);
    1.12 + 
    1.13 + 	unsigned long address = (unsigned long)_address;
    1.14 + 	if (address < vma) {
    1.15 +@@ -275,7 +275,7 @@
    1.16 + 		return;
    1.17 + 	}
    1.18 + 
    1.19 +-	bfd_size_type size = bfd_section_size(abfd, section);
    1.20 ++	bfd_size_type size = bfd_section_size(section);
    1.21 + 	if (address > (vma + size)) {
    1.22 + 		return;
    1.23 + 	}