Skip to contentSkip to conversation

valgrind: rename ptrcheck to sgcheck like upstream

PATCH New Mike Williams 2 participants 2 messages Mar 6, 2015 – Mar 7, 2015

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 valgrind: rename ptrcheck to sgcheck like upstream

---
 Config.in.legacy             | 9 +++++++++
 package/valgrind/Config.in   | 6 +++---
 package/valgrind/valgrind.mk | 8 ++++----
 3 files changed, 16 insertions(+), 7 deletions(-)
Config.in.legacy +9 -0
index 0b87ddb..1f57671 100644
@@ -99,7 +99,16 @@ comment "----------------------------------------------------"
 endif
 
 ###############################################################################
+comment "Legacy options removed in 2015.05"
 
+config BR2_PACKAGE_VALGRIND_PTRCHECK
+	bool "valgrind's PTRCheck was renamed to SGCheck"
+	select BR2_LEGACY
+	select BR2_PACKAGE_VALGRIND_SGCHECK
+	help
+	  PTRCheck was renamed to SGCheck in valgrind
+
+###############################################################################
 comment "Legacy options removed in 2015.02"
 
 config BR2_PACKAGE_LIBGC
package/valgrind/Config.in +3 -3
index 558d5f0..d9116dd 100644
@@ -53,10 +53,10 @@ config BR2_PACKAGE_VALGRIND_DHAT
 	help
 	  This option allows to install the DHAT tool
 
-config BR2_PACKAGE_VALGRIND_PTRCHECK
-	bool "Ptrcheck: an experimental head, stack and global array overrun detector"
+config BR2_PACKAGE_VALGRIND_SGCHECK
+	bool "SGCheck: an experimental stack and global array overrun detector"
 	help
-	  This option allows to install the Ptrcheck tool
+	  This option allows to install the SGCheck tool
 
 config BR2_PACKAGE_VALGRIND_BBV
 	bool "BBV: an experimental basic block vector generation tool"
package/valgrind/valgrind.mk +4 -4
index aaca39f..cfce8da 100644
@@ -91,12 +91,12 @@ endef
 VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_DHAT
 endif
 
-ifeq ($(BR2_PACKAGE_VALGRIND_PTRCHECK),)
-define VALGRIND_REMOVE_PTRCHECK
-	rm -f $(TARGET_DIR)/usr/lib/valgrind/*ptrcheck*
+ifeq ($(BR2_PACKAGE_VALGRIND_SGCHECK),)
+define VALGRIND_REMOVE_SGCHECK
+	rm -f $(TARGET_DIR)/usr/lib/valgrind/*sgcheck*
 endef
 
-VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_PTRCHECK
+VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_SGCHECK
 endif
 
 ifeq ($(BR2_PACKAGE_VALGRIND_BBV),)
Signature · 1 line
2.1.0
#1 lore raw

PATCH v2 1/1 valgrind: rename ptrcheck to sgcheck like upstream

Dear Mike Williams,

Quoted 6 lines · Mike Williams
---
 Config.in.legacy             | 9 +++++++++
 package/valgrind/Config.in   | 6 +++---
 package/valgrind/valgrind.mk | 8 ++++----
 3 files changed, 16 insertions(+), 7 deletions(-)

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com