]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
macOS: Try to fix build, doesn't like .debug_gdb_scripts
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 29 Jan 2023 16:35:08 +0000 (17:35 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 29 Jan 2023 16:35:08 +0000 (17:35 +0100)
coregrind/vg_preloaded.c

index 75a3b7ed0c4cbdf681d80a40ff11b610060c4b41..d6e05898c9026a518626cfdd7ea17741414bf28c 100644 (file)
@@ -49,6 +49,7 @@
 #include <features.h>
 #endif
 
+#if !defined(VGO_darwin)
 /* Instruct GDB via a .debug_gdb_scripts section to load the valgrind and tool
    front-end commands.  */
 /* Note: The "MS" section flags are to remove duplicates.  */
@@ -61,6 +62,7 @@
 ");
 
 DEFINE_GDB_PY_SCRIPT(VG_LIBDIR "/valgrind-monitor.py")
+#endif
 
 #if defined(VGO_linux) || defined(VGO_solaris) || defined(VGO_freebsd)