summaryrefslogtreecommitdiff
path: root/pthread_stop_world.c
diff options
context:
space:
mode:
authorivmai <ivmai>2009-12-07 18:12:40 +0100
committerIvan Maidanski <ivmai@mail.ru>2011-07-26 19:06:52 +0200
commit176d5bda1e4416a306005d5ee66a902e9db6af6d (patch)
tree52e7c56e61bb91f41a8005e16bc61eccca74cb93 /pthread_stop_world.c
parenta745f0f3f342887988aa9d05c29b2478f0e30101 (diff)
2009-12-07 Ivan Maidanski <ivmai@mail.ru>
* doc/README.macros (GC_READ_ENV_FILE): Document (new macro). * include/private/gc_priv.h (GETENV): Recognize GC_READ_ENV_FILE; declare and use GC_envfile_getenv(). * misc.c (GC_envfile_content, GC_envfile_length): New static variable (only if GC_READ_ENV_FILE). * misc.c (GC_ENVFILE_MAXLEN): New macro (used in GC_envfile_init). * misc.c (GC_envfile_init, GC_envfile_getenv): New function (only if GC_READ_ENV_FILE). * misc.c (GC_init): Call GC_envfile_init() (before using GETENV) if GC_READ_ENV_FILE. * misc.c (GC_init): Move GC_setpagesize() and GC_init_win32() calls to be just before GC_envfile_init() one (since the latter uses GET_MEM). * misc.c (GC_abort): use ExitProcess() (instead of DebugBreak) for WinCE if NO_DEBUGGING; add a comment for DebugBreak() (for WinCE). * mark_rts.c (GC_add_roots_inner): Remove redundant trailing '\n' from the ABORT message. * misc.c (GC_init): Ditto. * os_dep.c (GC_get_main_stack_base, GC_register_data_segments): Ditto. * pthread_stop_world.c (GC_push_all_stacks): Ditto. * pthread_support.c (GC_init_real_syms, start_mark_threads): Ditto.
Diffstat (limited to 'pthread_stop_world.c')
-rw-r--r--pthread_stop_world.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread_stop_world.c b/pthread_stop_world.c
index d799eab..421151f 100644
--- a/pthread_stop_world.c
+++ b/pthread_stop_world.c
@@ -324,7 +324,7 @@ GC_INNER void GC_push_all_stacks(void)
GC_printf("Stack for thread 0x%x = [%p,%p)\n",
(unsigned)(p -> id), lo, hi);
# endif
- if (0 == lo) ABORT("GC_push_all_stacks: sp not set!\n");
+ if (0 == lo) ABORT("GC_push_all_stacks: sp not set!");
GC_push_all_stack_frames(lo, hi, p -> activation_frame);
# ifdef STACK_GROWS_UP
total_size += lo - hi;