blob: 32247431fe89cf0092ba6e657b5e78aa98a8173b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/gdb/macosx/macosx-nat-dyld.c
+++ src/gdb/macosx/macosx-nat-dyld.c
@@ -788,7 +788,7 @@
}
else
{
-#if defined (NM_NEXTSTEP)
+#if defined (NM_NEXTSTEP) && defined(TASK_DYLD_INFO_COUNT)
if (macosx_status->task == TASK_NULL)
return 0;
|