Changeset 3375e2 in git
- Timestamp:
- Jun 8, 1999, 2:38:46 PM (24 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 20057b77cd71291095f0751bb45b61df65b7800f
- Parents:
- 19fa535d96a6eb15ab729d392b489f69f9017f9a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/sdb.cc
r19fa535 r3375e2 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: sdb.cc,v 1. 6 1999-05-29 11:57:42Singular Exp $ */4 /* $Id: sdb.cc,v 1.7 1999-06-08 12:38:46 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: Singular debugger … … 59 59 if (editor==NULL) 60 60 editor="vi"; 61 editor=mstrdup(editor); 62 63 // remove arguments... 64 if (strchr(editor,' ')!=NULL) 65 { 66 char *p=strchr(editor,' '); 67 *p='\0'; 68 } 61 69 62 70 if (pi->data.s.body==NULL) … … 85 93 execlp(editor,editor,filename,NULL); 86 94 Print("cannot exec %s\n",editor); 95 exit(0); 87 96 } 88 97 else … … 147 156 fwrite(currLine,1,len,stdout); 148 157 Print("<<\nbreakpoint %d (press ? for list of commands)\n",bp); 149 p=fe_fgets_stdin(" !",gdb,80);158 p=fe_fgets_stdin(">>",gdb,80); 150 159 while (*p==' ') p++; 151 160 if (*p >' ')
Note: See TracChangeset
for help on using the changeset viewer.