]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Formatting wibbles.
authorNicholas Nethercote <n.nethercote@gmail.com>
Thu, 4 Nov 2004 19:28:38 +0000 (19:28 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Thu, 4 Nov 2004 19:28:38 +0000 (19:28 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2927

coregrind/vg_main.c
coregrind/vg_proxylwp.c
coregrind/vg_scheduler.c
coregrind/vg_signals.c

index 41e2c9a937e4bff84d50cd4896a2c9dfea442394..0f2e414cc7428277032522cb3fe17d84eff0b509 100644 (file)
@@ -987,7 +987,7 @@ static Addr setup_client_stack(void* init_sp,
       sizeof(char **) +                        /* terminal NULL */
       auxsize +                                /* auxv */
       ROUNDUP(stringsize, sizeof(int)) +/* strings (aligned) */
-      VKI_PAGE_SIZE;           /* page for trampoline code */
+      VKI_PAGE_SIZE;                   /* page for trampoline code */
 
    // decide where stack goes!
    VG_(clstk_end) = VG_(client_end);
index eded4e74d172b9284722832d151633ae0810f555..308671a865ada6dc4fdc8761f219e2f3752544a0 100644 (file)
@@ -884,10 +884,11 @@ void VG_(proxy_create)(ThreadId tid)
    VG_(block_all_host_signals)(&mask);
 
    ret = proxy_clone(proxy);
+
    if (ret < 0) {
-          VG_(printf)("Error %d trying to create proxy LWP for tid %d\n",
-                      ret, tid);
-          VG_(core_panic)("Can't start proxy LWPs");
+      VG_(printf)("Error %d trying to create proxy LWP for tid %d\n",
+                  ret, tid);
+      VG_(core_panic)("Can't start proxy LWPs");
    }
 
    VG_(restore_all_host_signals)(&mask);
index 7d45e837de8d34170b24ec5b06372a782015f3cd..970bf7de3424882abc0baf7f6e2adedb5bd678bc 100644 (file)
@@ -2571,8 +2571,7 @@ void do_pthread_getspecific_ptr ( ThreadId tid )
    }
 
    specifics_ptr = VG_(threads)[tid].specifics_ptr;
-   vg_assert(specifics_ptr == NULL 
-             || IS_ALIGNED4_ADDR(specifics_ptr));
+   vg_assert(specifics_ptr == NULL || IS_ALIGNED4_ADDR(specifics_ptr));
 
    SET_PTHREQ_RETVAL(tid, (UWord)specifics_ptr);
 }
index 93692de97106a4c5f26dd9e2f58db33d58e9c9b9..00409c918abd3542841fbddb4e267e023bc76dd2 100644 (file)
@@ -368,10 +368,8 @@ void calculate_SKSS_from_SCSS ( SKSS* dst )
    }
 
    /* Sanity checks. */
-   vg_assert(dst->skss_per_sig[VKI_SIGKILL].skss_handler 
-             == VKI_SIG_DFL);
-   vg_assert(dst->skss_per_sig[VKI_SIGSTOP].skss_handler 
-             == VKI_SIG_DFL);
+   vg_assert(dst->skss_per_sig[VKI_SIGKILL].skss_handler == VKI_SIG_DFL);
+   vg_assert(dst->skss_per_sig[VKI_SIGSTOP].skss_handler == VKI_SIG_DFL);
 
    if (0)
       pp_SKSS();
@@ -1699,7 +1697,8 @@ void vg_sync_signalhandler ( Int sigNo, vki_siginfo_t *info, struct vki_ucontext
    */
 
    if (VG_(clo_trace_signals)) {
-      VG_(message)(Vg_DebugMsg, "signal %d arrived ... si_code=%d", sigNo, info->si_code );
+      VG_(message)(Vg_DebugMsg, "signal %d arrived ... si_code=%d",
+                   sigNo, info->si_code );
    }
    vg_assert(sigNo >= 1 && sigNo <= _VKI_NSIG);