Changeset ad4bc9 in git for Singular/extra.cc


Ignore:
Timestamp:
May 6, 1999, 6:53:35 PM (25 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
Children:
c59d88ee06883f262adb708e6846ac13d54018e3
Parents:
8d4732632f41e8c44b6ae3e871af2513fba44823
Message:
* hannes: Debugger-changes, typo fixes


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

Legend:

Unmodified
Added
Removed
  • Singular/extra.cc

    r8d4732 rad4bc9  
    22*  Computer Algebra System SINGULAR      *
    33*****************************************/
    4 /* $Id: extra.cc,v 1.90 1999-04-29 11:38:40 Singular Exp $ */
     4/* $Id: extra.cc,v 1.91 1999-05-06 16:53:21 Singular Exp $ */
    55/*
    66* ABSTRACT: general interface to internals of Singular ("system" command)
     
    940940        {
    941941          sdb_lines[i]=lineno;
     942          sdb_files[i]=p->libname;
    942943          i++;
    943944          Print("breakpoint %d, at line %d in %s\n",i,lineno,p->procname);
     
    948949      {
    949950        WerrorS("system(\"breakpoint\",`proc`,`int`) expected");
     951        return TRUE;
     952      }
     953      return FALSE;
     954    }
     955    else
     956/*==================== sdb_flags =================*/
     957    if (strcmp(sys_cmd, "sdb_flags") == 0)
     958    {
     959      if ((h!=NULL) && (h->Typ()==INT_CMD))
     960      {
     961        sdb_flags=(int)h->Data();
     962      }
     963      else
     964      {
     965        WerrorS("system(\"sdb_flags\",`int`) expected");
     966        return TRUE;
     967      }
     968      return FALSE;
     969    }
     970    else
     971/*==================== sdb_edit =================*/
     972    if (strcmp(sys_cmd, "sdb_edit") == 0)
     973    {
     974      if ((h!=NULL) && (h->Typ()==PROC_CMD))
     975      {
     976        procinfov p=(procinfov)h->Data();
     977        sdb_edit(p);
     978      }
     979      else
     980      {
     981        WerrorS("system(\"sdb_edit\",`proc`) expected");
    950982        return TRUE;
    951983      }
Note: See TracChangeset for help on using the changeset viewer.