From: Paul Floyd Date: Sun, 29 Jan 2023 16:35:08 +0000 (+0100) Subject: macOS: Try to fix build, doesn't like .debug_gdb_scripts X-Git-Tag: VALGRIND_3_21_0~193 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea733f262e37ae691d27122b534a141fc6854ba8;p=thirdparty%2Fvalgrind.git macOS: Try to fix build, doesn't like .debug_gdb_scripts --- diff --git a/coregrind/vg_preloaded.c b/coregrind/vg_preloaded.c index 75a3b7ed0c..d6e05898c9 100644 --- a/coregrind/vg_preloaded.c +++ b/coregrind/vg_preloaded.c @@ -49,6 +49,7 @@ #include #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)