From ea733f262e37ae691d27122b534a141fc6854ba8 Mon Sep 17 00:00:00 2001 From: Paul Floyd Date: Sun, 29 Jan 2023 17:35:08 +0100 Subject: [PATCH] macOS: Try to fix build, doesn't like .debug_gdb_scripts --- coregrind/vg_preloaded.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.47.2