vg_to_ucode.c \
vg_translate.c \
vg_transtab.c \
- vg_valgrinq_dummy.c \
vg_vtagops.c
valgrind_so_LDADD = \
vg_to_ucode.c \
vg_translate.c \
vg_transtab.c \
- vg_valgrinq_dummy.c \
vg_vtagops.c
valgrind_so_LDADD = \
vg_to_ucode.c \
vg_translate.c \
vg_transtab.c \
- vg_valgrinq_dummy.c \
vg_vtagops.c
valgrind_so_LDADD = \
vg_to_ucode.c \
vg_translate.c \
vg_transtab.c \
- vg_valgrinq_dummy.c \
vg_vtagops.c
valgrind_so_LDADD = \
vg_to_ucode.c \
vg_translate.c \
vg_transtab.c \
- vg_valgrinq_dummy.c \
vg_vtagops.c
valgrind_so_LDADD = \
VG_(panic)("vgm_init_memory_audit: can't determine data-seg end");
if (0)
- VG_(printf)("DS END is %p\n", VGM_(curr_dataseg_end));
+ VG_(printf)("DS END is %p\n", (void*)VGM_(curr_dataseg_end));
/* Read the list of errors to suppress. This should be found in
the file specified by vg_clo_suppressions. */
if (0)
VG_(printf)(
"vg_scan_all_valid_memory_sighandler: ignoring page at %p\n",
- pageBase
+ (void*)pageBase
);
}
}
- Read/write syscall starts: don't crap out when the initial
nonblocking read/write returns an error.
+- Get rid of restrictions re use of sigaltstack; they are no longer
+ needed.
+
*/
startup_esp = VG_(baseBlock)[VGOFF_(m_esp)];
if ((startup_esp & VG_STARTUP_STACK_MASK) != VG_STARTUP_STACK_MASK) {
- VG_(printf)("%esp at startup = %p is not near %p; aborting\n",
- startup_esp, VG_STARTUP_STACK_MASK);
+ VG_(printf)("%%esp at startup = %p is not near %p; aborting\n",
+ (void*)startup_esp, (void*)VG_STARTUP_STACK_MASK);
VG_(panic)("unexpected %esp at startup");
}
possibly much later: it delivers the results from ready fds to
threads in WaitFD state.
*/
+static
void poll_for_ready_fds ( void )
{
vki_ksigset_t saved_procmask;
/* See comment attached to poll_for_ready_fds() for explaination. */
+static
void complete_blocked_syscalls ( void )
{
Int fd, i, res, syscall_no;
{
Int i;
VG_(printf)("vg_ksigaction: handler %p, flags 0x%x, restorer %p\n",
- sa->ksa_handler, sa->ksa_flags, sa->ksa_restorer);
+ sa->ksa_handler, (UInt)sa->ksa_flags, sa->ksa_restorer);
VG_(printf)("vg_ksigaction: { ");
for (i = 1; i < VKI_KNSIG; i++)
if (VG_(ksigismember(&(sa->ksa_mask),i)))
vg_to_ucode.c \
vg_translate.c \
vg_transtab.c \
- vg_valgrinq_dummy.c \
vg_vtagops.c
valgrind_so_LDADD = \
vg_to_ucode.c \
vg_translate.c \
vg_transtab.c \
- vg_valgrinq_dummy.c \
vg_vtagops.c
valgrind_so_LDADD = \
vg_to_ucode.c \
vg_translate.c \
vg_transtab.c \
- vg_valgrinq_dummy.c \
vg_vtagops.c
valgrind_so_LDADD = \
vg_to_ucode.c \
vg_translate.c \
vg_transtab.c \
- vg_valgrinq_dummy.c \
vg_vtagops.c
valgrind_so_LDADD = \
vg_csb_discards++;
if (VG_(clo_verbosity) > 2)
VG_(printf)("discarding stack block %p for %d\n",
- vg_csbs[vg_csb_used].start, vg_csbs[vg_csb_used].size);
+ (void*)vg_csbs[vg_csb_used].start,
+ vg_csbs[vg_csb_used].size);
}
}
if (VG_(clo_verbosity) > 2)
VG_(printf)("client request: code %d, addr %p, len %d\n",
- arg[0], arg[1], arg[2] );
+ arg[0], (void*)arg[1], arg[2] );
vg_assert(VG_(clo_client_perms));
vg_assert(VG_(clo_instrument));
VG_(panic)("vgm_init_memory_audit: can't determine data-seg end");
if (0)
- VG_(printf)("DS END is %p\n", VGM_(curr_dataseg_end));
+ VG_(printf)("DS END is %p\n", (void*)VGM_(curr_dataseg_end));
/* Read the list of errors to suppress. This should be found in
the file specified by vg_clo_suppressions. */
if (0)
VG_(printf)(
"vg_scan_all_valid_memory_sighandler: ignoring page at %p\n",
- pageBase
+ (void*)pageBase
);
}
}
- Read/write syscall starts: don't crap out when the initial
nonblocking read/write returns an error.
+- Get rid of restrictions re use of sigaltstack; they are no longer
+ needed.
+
*/
startup_esp = VG_(baseBlock)[VGOFF_(m_esp)];
if ((startup_esp & VG_STARTUP_STACK_MASK) != VG_STARTUP_STACK_MASK) {
- VG_(printf)("%esp at startup = %p is not near %p; aborting\n",
- startup_esp, VG_STARTUP_STACK_MASK);
+ VG_(printf)("%%esp at startup = %p is not near %p; aborting\n",
+ (void*)startup_esp, (void*)VG_STARTUP_STACK_MASK);
VG_(panic)("unexpected %esp at startup");
}
possibly much later: it delivers the results from ready fds to
threads in WaitFD state.
*/
+static
void poll_for_ready_fds ( void )
{
vki_ksigset_t saved_procmask;
/* See comment attached to poll_for_ready_fds() for explaination. */
+static
void complete_blocked_syscalls ( void )
{
Int fd, i, res, syscall_no;
{
Int i;
VG_(printf)("vg_ksigaction: handler %p, flags 0x%x, restorer %p\n",
- sa->ksa_handler, sa->ksa_flags, sa->ksa_restorer);
+ sa->ksa_handler, (UInt)sa->ksa_flags, sa->ksa_restorer);
VG_(printf)("vg_ksigaction: { ");
for (i = 1; i < VKI_KNSIG; i++)
if (VG_(ksigismember(&(sa->ksa_mask),i)))