libiberty/
[deliverable/binutils-gdb.git] / binutils / prdbg.c
index 14e371c2bc39d190d22a9076d03c228d0c9d10d9..39b9e3fb8cc5bc52b3d32dd98aa83587932a3b70 100644 (file)
@@ -502,12 +502,21 @@ print_vma (bfd_vma vma, char *buf, bfd_boolean unsignedp, bfd_boolean hexp)
 #if BFD_HOST_64BIT_LONG_LONG
   else if (sizeof (vma) <= sizeof (unsigned long long))
     {
+#ifndef __MSVCRT__
       if (hexp)
        sprintf (buf, "0x%llx", (unsigned long long) vma);
       else if (unsignedp)
        sprintf (buf, "%llu", (unsigned long long) vma);
       else
        sprintf (buf, "%lld", (long long) vma);
+#else
+      if (hexp)
+       sprintf (buf, "0x%I64x", (unsigned long long) vma);
+      else if (unsignedp)
+       sprintf (buf, "%I64u", (unsigned long long) vma);
+      else
+       sprintf (buf, "%I64d", (long long) vma);
+#endif
     }
 #endif
   else
@@ -1942,8 +1951,6 @@ tg_start_compilation_unit (void * p, const char *filename ATTRIBUTE_UNUSED)
 {
   struct pr_handle *info = (struct pr_handle *) p;
 
-  fprintf (stderr, "New compilation unit: %s\n", filename);
-
   free (info->filename);
   /* Should it be relative? best way to do it here?.  */
   info->filename = strdup (filename);
This page took 0.026171 seconds and 4 git commands to generate.