Changeset e514ee in git for Singular/extra.cc


Ignore:
Timestamp:
Nov 24, 1999, 6:09:39 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'd25190065115c859833252500a64cfb7b11e3a50')
Children:
5d32fdb9ecb9fff4978a30bd8fb80b5e9fcdb7b0
Parents:
17b9209be23f46743b20ed712fa0ce186bc1a6ae
Message:
* hannes; moved breakpoint from extra.cc to iparith.cc (new command breakpoint)


git-svn-id: file:///usr/local/Singular/svn/trunk@3916 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    r17b920 re514ee  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: extra.cc,v 1.118 1999-11-19 16:42:39 obachman Exp $ */
     4/* $Id: extra.cc,v 1.119 1999-11-24 17:09:34 Singular Exp $ */
    55/*
    66* ABSTRACT: general interface to internals of Singular ("system" command)
     
    10031003    else
    10041004#endif
    1005 /*==================== sdb-debugger =================*/
    1006     if (strcmp(sys_cmd, "breakpoint") == 0)
    1007     {
    1008       if (h==NULL)
    1009       {
    1010        sdb_show_bp();
    1011        return FALSE;
    1012       }
    1013       else if (h->Typ()==PROC_CMD)
    1014       {
    1015         int lineno=0;
    1016         if ((h->next!=NULL) && (h->next->Typ()==INT_CMD))
    1017         {
    1018           lineno=(int)h->next->Data();
    1019         }
    1020         return sdb_set_breakpoint(h->Name(),lineno);
    1021       }
    1022       else
    1023       {
    1024         WerrorS("system(\"breakpoint\",`proc`[,`int`]) expected");
    1025         return TRUE;
    1026       }
    1027     }
    1028     else
    10291005/*==================== sdb_flags =================*/
    10301006    if (strcmp(sys_cmd, "sdb_flags") == 0)
Note: See TracChangeset for help on using the changeset viewer.