PR29262, memory leak in pr_function_type
[binutils-gdb.git] / gdbserver / linux-x86-low.cc
index 171f21c79976b44ec34f5df10fc5be5fdc4a5809..d2b55f6f0d2b9f027f192601087c90cda6afa461 100644 (file)
@@ -1628,9 +1628,8 @@ add_insns (unsigned char *start, int len)
 {
   CORE_ADDR buildaddr = current_insn_ptr;
 
-  if (debug_threads)
-    debug_printf ("Adding %d bytes of insn at %s\n",
-                 len, paddress (buildaddr));
+  threads_debug_printf ("Adding %d bytes of insn at %s",
+                       len, paddress (buildaddr));
 
   append_insns (&buildaddr, len, start);
   current_insn_ptr = buildaddr;