Diff for /np2/i386c/ia32/debug.c between versions 1.17 and 1.20

version 1.17, 2011/12/20 01:16:25 version 1.20, 2012/01/08 08:02:38
Line 41  cpu_reg2str(void) Line 41  cpu_reg2str(void)
             "eax=%08x ecx=%08x edx=%08x ebx=%08x\n"              "eax=%08x ecx=%08x edx=%08x ebx=%08x\n"
             "esp=%08x ebp=%08x esi=%08x edi=%08x\n"              "esp=%08x ebp=%08x esi=%08x edi=%08x\n"
             "eip=%08x prev_eip=%08x\n"              "eip=%08x prev_eip=%08x\n"
             "es=%04x cs=%04x ss=%04x ds=%04x fs=%04x gs=%04x\n"              "cs=%04x ss=%04x ds=%04x es=%04x fs=%04x gs=%04x\n"
             "eflag=%08x "              "eflag=%08x "
             /* ID VIP VIF AC VM RF NT IOPL OF DF IF TF SF ZF AF PF CF */              /* ID VIP VIF AC VM RF NT IOPL OF DF IF TF SF ZF AF PF CF */
             "[ ID=%d VIP=%d VIF=%d AC=%d VM=%d RF=%d NT=%d IOPL=%d %s %s %s TF=%d %s %s %s %s %s ]\n"              "[ ID=%d VIP=%d VIF=%d AC=%d VM=%d RF=%d NT=%d IOPL=%d %s %s %s TF=%d %s %s %s %s %s ]\n"
Line 101  put_cpuinfo(void) Line 101  put_cpuinfo(void)
 #endif  #endif
         strcat(buf, a20str());          strcat(buf, a20str());
   
         printf(buf);          printf("%s", buf);
 }  }
   
 void  void
Line 115  dbg_printf(const char *str, ...) Line 115  dbg_printf(const char *str, ...)
         va_end(ap);          va_end(ap);
         strcat(buf, "\n");          strcat(buf, "\n");
   
         printf(buf);          printf("%s", buf);
 }  }
   
 void  void
Line 251  segdesc_dump(descriptor_t *sdp) Line 251  segdesc_dump(descriptor_t *sdp)
   
         __ASSERT(sdp != NULL);          __ASSERT(sdp != NULL);
   
         VERBOSE(("\ndump descriptor", sdp));          VERBOSE(("\ndump descriptor: %p", sdp));
   
         VERBOSE(("valid    : %s", SEG_IS_VALID(sdp) ? "true" : "false"));          VERBOSE(("valid    : %s", SEG_IS_VALID(sdp) ? "true" : "false"));
         VERBOSE(("present  : %s", SEG_IS_PRESENT(sdp) ? "true" : "false"));          VERBOSE(("present  : %s", SEG_IS_PRESENT(sdp) ? "true" : "false"));

Removed from v.1.17  
changed lines
  Added in v.1.20


RetroPC.NET-CVS <cvs@retropc.net>