[vmips] bug in VMIPS

Brian R. Gaeke brg at dgate.ORG
Fri Jul 30 11:31:57 CDT 2004


> Date: Fri, 30 Jul 2004 02:01:20 -0700 (PDT)
> From: Vladimir <bofhmail at yahoo.com>
> Subject: bug in VMIPS
> To: vmips at dgate.org
> 
> Hi ! VMIPS is wondeful ! Here is my 1 cent. All following writen for v1.2.
> Today i found v1.2.1, but quick view in new sources show what these features
> does not changed.
> 
> 1) When unknown to VMIPS option specified on command line, VMIPS call
> fatal_error(), which in turn cause core dumping. IMHO invalid command line
> parameters shoud not cause core dumps.
> 
> 2) Debugging with gdb is broken: 
> 
> *** cpu.cc.orig Sat Jul 24 17:20:48 2004                                       
> --- cpu.cc      Sat Jul 24 17:21:40 2004                                       
> ***************                                                                
> *** 1963,1969 ****                                                             
> --- 1963,1971 ----                                                             
>         packet[0] = '\0';                                                      
>         r = 0;                                                                 
>         for (i = 0; i < 32; i++)                                               
> +       {                                                                      
>                 debug_packet_push_word(packet, reg[i]); r++;                   
> +       }                                                                      
>         uint32 sr, bad, cause;                                                 
>         cpzero->read_debug_info(&sr, &bad, &cause);                            
>         debug_packet_push_word(packet, sr); r++;
> 
> 3) Configuration defaults for VMIPS and XMBOOT are different. It's can be
> confusing for newbies trying to play with VMIPS and XMBOOT (yes, it's about me
> :) Default serial port for VMIPS is SPIM compatible console, but for xmboot
> default is DEC serial (serial.c). RAM sizes are different too (boot.script and
> boot_setup.S)
> 
> Regards, Vladimir Machuslkiy.
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail Address AutoComplete - You start. We finish.
> http://promotions.yahoo.com/new_mail 


More information about the Vmips mailing list