struct thread_info *new_thread
= (struct thread_info *) malloc (sizeof (*new_thread));
- VG_(memset) (new_thread, 0, sizeof (*new_thread));
+ memset (new_thread, 0, sizeof (*new_thread));
new_thread->entry.id = thread_id;
CORE_ADDR addr;
int i;
- VG_(memcpy) (buf, "watch:", 6);
+ memcpy (buf, "watch:", 6);
buf += 6;
addr = valgrind_stopped_data_address ();
VG_(strtoull16) ((s),(r)) \
: VG_(strtoull10) ((s),(r)))
+#define memcpy(_dd,_ss,_sz) VG_(memcpy)((_dd),(_ss),(_sz))
+#define memset(_ss,_cc,_sz) VG_(memset)((_ss),(_cc),(_sz))
+
#define malloc(sz) VG_(malloc) ("gdbsrv", sz)
#define calloc(n,sz) VG_(calloc) ("gdbsrv", n, sz)
#define realloc(p,size) VG_(realloc) ("gdbsrv", p, size)