(linux_look_up_symbols): Add comment.
+2010-02-12 Doug Evans <dje@google.com>
+
+ * linux-low.c (linux_supports_tracefork_flag): Document.
+ (linux_look_up_symbols): Add comment.
+
2010-02-03 H.J. Lu <hongjiu.lu@intel.com>
* regcache.c (supply_register): Clear regcache if buf is NULL.
return 0;
}
+/* Non-zero if the kernel supports PTRACE_O_TRACEFORK. */
static int linux_supports_tracefork_flag;
/* Helper functions for linux_test_for_tracefork, called via clone (). */
if (proc->private->thread_db != NULL)
return;
+ /* If the kernel supports tracing forks then it also supports tracing
+ clones, and then we don't need to use the magic thread event breakpoint
+ to learn about threads. */
thread_db_init (!linux_supports_tracefork_flag);
#endif
}