[BACK]Return to debug.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / parse

Diff for /OpenXM_contrib2/asir2000/parse/debug.c between version 1.6 and 1.8

version 1.6, 2000/12/05 01:24:56 version 1.8, 2001/08/20 09:03:27
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/parse/debug.c,v 1.5 2000/08/22 05:04:26 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2000/parse/debug.c,v 1.7 2000/12/22 10:03:31 saito Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 227  SNODE f;
Line 227  SNODE f;
 #endif  #endif
         char buf[BUFSIZ];          char buf[BUFSIZ];
         char prompt[BUFSIZ];          char prompt[BUFSIZ];
         char *p,*pe;          char *p,*pe,*line;
         NODE tn;          NODE tn;
         extern int kernelmode,do_fep;          extern int do_fep;
         NODE pvss;          NODE pvss;
   
 #if !MPI && !defined(VISUAL)  #if !MPI && !defined(VISUAL)
Line 247  SNODE f;
Line 247  SNODE f;
         if ( do_server_in_X11 )          if ( do_server_in_X11 )
 #endif  #endif
                 show_debug_window(1);                  show_debug_window(1);
         sprintf(prompt,"(debug)%c",kernelmode?0xfe:' ');          sprintf(prompt,"(debug) ");
         if ( kernelmode )  
                 fputc('\0',stderr);  
         setjmp(debug_env);          setjmp(debug_env);
         while ( 1 ) {          while ( 1 ) {
                 if ( !do_server_in_X11 )  #if FEP
                         fputs(prompt,stderr);                  if ( !do_fep )
   #endif
                           if ( !do_server_in_X11 )
                                   fputs(prompt,stderr);
                 bzero(buf,BUFSIZ);                  bzero(buf,BUFSIZ);
                 while ( 1 ) {                  while ( 1 ) {
   #if FEP
                           if ( do_fep ) {
                                   line = (char *)readline_console(prompt);
                                   strcpy(buf,line); free(line);
                           } else
   #endif
                         {                          {
                                 int len;                                  int len;
   
Line 351  SNODE f;
Line 358  SNODE f;
                 }                  }
         }          }
 LAST:  LAST:
         if ( kernelmode )  
                 fputc('\0',stderr);  
         debug_mode = 0;          debug_mode = 0;
 #if !defined(VISUAL)  #if !defined(VISUAL)
         if ( do_server_in_X11 )          if ( do_server_in_X11 )

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.8

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>