diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2021-09-15 08:20:38 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2021-09-15 11:21:42 +0300 |
commit | dcc4e8579f0b414d2b0090c475b88b92386f51e1 (patch) | |
tree | fab79bb9f44905bbcb7e8ea551e3615074f0c04f /win32_threads.c | |
parent | e261f4b34d382f5518567ef6c0f3ab53ce4c6169 (diff) | |
download | bdwgc-dcc4e8579f0b414d2b0090c475b88b92386f51e1.tar.gz |
Adjust spaces around '=' in printed messages
(refactoring)
* checksums.c (GC_check_blocks): Remove space before '=' and add
a space (if missing) after '=' in printed message.
* darwin_stop_world.c [DEBUG_THREADS_EXTRA] (GC_FindTopOfStack):
Likewise.
* dbg_mlc.c (GC_print_obj, GC_debug_print_heap_obj_proc): Likewise.
* dyn_load.c [IRIX5 || USE_PROC_FOR_LIBRARIES && !LINUX || HPUX]
(GC_register_dynamic_libraries): Likewise.
[DEBUG_VIRTUALQUERY] (GC_dump_meminfo): Likewise.
* os_dep.c [NEED_PROC_MAPS] (GC_get_maps): Likewise.
* os_dep.c [PROC_VDB] (GC_proc_read_dirty): Likewise.
* os_dep.c [SOFT_VDB] (soft_read_dirty): Likewise.
* pthread_support.c (set_marker_thread_name,
GC_start_mark_threads_inner): Likewise.
* pthread_support.c [DEBUG_THREADS] (GC_delete_thread,
GC_unregister_my_thread_inner, GC_unregister_my_thread,
GC_thread_exit_proc, GC_start_rtn_prepare_thread): Likewise.
* pthread_support.c [GC_LINUX_THREADS] (GC_get_nprocs): Likewise.
* tests/disclaim_weakmap_test.c [DEBUG_DISCLAIM_WEAKMAP] (weakmap_add,
weakmap_disclaim): Likewise.
* tests/subthread_create.c (run_one_test): Likewise.
* win32_threads.c (GC_delete_thread, GC_push_stack_for,
GC_get_next_stack): Likewise.
* darwin_stop_world.c [DEBUG_THREADS] (GC_stack_range_for): Remove '='
in printed message and/or improve message.
* mark.c (GC_signal_mark_stack_overflow): Likewise.
* mark_rts.c [!NO_DEBUGGING] (GC_print_static_roots): Likewise.
* pthread_stop_world.c [DEBUG_THREADS] (GC_push_all_stacks,
GC_suspend_all): Likewise.
* pthread_support.c (GC_thr_init): Likewise.
* tests/disclaim_test.c (pair_dct, pair_new): Likewise.
* tests/disclaim_weakmap_test.c (pair_check_rec): Likewise.
* tests/initsecondarythread.c (main): Likewise.
* tests/subthread_create.c (entry, main): Likewise.
* tests/test.c [THREADS] (fork_a_thread, main): Likewise.
* tests/test.c [MSWINCE] (thr_window): Likewise.
* tests/test.c [NTHREADS>0] (main): Likewise.
* tests/threadkey_test.c (main): Likewise.
* dyn_load.c [ALPHA && OSF1 && DL_VERBOSE]
(GC_register_dynamic_libraries): Reformat printed messages.
* tests/disclaim_test.c (main): Remove space after '#' in printed
message.
Diffstat (limited to 'win32_threads.c')
-rw-r--r-- | win32_threads.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win32_threads.c b/win32_threads.c index 8b766902..9d545425 100644 --- a/win32_threads.c +++ b/win32_threads.c @@ -736,7 +736,7 @@ STATIC void GC_delete_thread(DWORD id) GC_vthread t = GC_lookup_thread_inner(id); if (0 == t) { - WARN("Removing nonexistent thread, id = %" WARN_PRIdPTR "\n", id); + WARN("Removing nonexistent thread, id= %" WARN_PRIdPTR "\n", id); } else { GC_delete_gc_thread_no_free(t); } @@ -1690,7 +1690,7 @@ STATIC word GC_push_stack_for(GC_thread thread, DWORD me) || (word)tib->StackBase < (word)thread->stack_base)) { /* The coroutine stack is not within TIB stack. */ WARN("GetThreadContext might return stale register values" - " including ESP=%p\n", sp); + " including ESP= %p\n", sp); /* TODO: Because of WoW64 bug, there is no guarantee that */ /* sp really points to the stack top but, for now, we do */ /* our best as the TIB stack limit/base cannot be used */ @@ -2157,7 +2157,7 @@ GC_INNER void GC_get_next_stack(char *start, char *limit, ABORT("sigfillset failed"); if (pthread_sigmask(SIG_BLOCK, &set, &oldset) < 0) { WARN("pthread_sigmask set failed, no markers started," - " errno = %" WARN_PRIdPTR "\n", errno); + " errno= %" WARN_PRIdPTR "\n", errno); GC_markers_m1 = 0; (void)pthread_attr_destroy(&attr); return; @@ -2182,7 +2182,7 @@ GC_INNER void GC_get_next_stack(char *start, char *limit, # ifndef NO_MARKER_SPECIAL_SIGMASK /* Restore previous signal mask. */ if (pthread_sigmask(SIG_SETMASK, &oldset, NULL) < 0) { - WARN("pthread_sigmask restore failed, errno = %" WARN_PRIdPTR "\n", + WARN("pthread_sigmask restore failed, errno= %" WARN_PRIdPTR "\n", errno); } # endif |