Skip to content

Commit

Permalink
sdb: verbose 'p'
Browse files Browse the repository at this point in the history
  • Loading branch information
hannes14 committed Sep 29, 2015
1 parent ec3d9a4 commit 67e5ab0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 14 deletions.
14 changes: 1 addition & 13 deletions README.pkg
Expand Up @@ -21,20 +21,8 @@ $ rpm -i x86_64/singular-4.0.0-1.x86_64.rpm noarch/singular-common-4.0.0-1.noarc

Gentoo
======
to install from the main tree,
install from the main tree:

emerge singular

is sufficient.

To get the very latest, slightly more experimental package add the "science overlay" first (if you have not already)

layman -a science

then unmask sci-mathematics/singular, for example by

echo "sci-mathematics/singular" >> /etc/portage/package.keywords/singular

and install:

emerge singularp
9 changes: 8 additions & 1 deletion Singular/sdb.cc
Expand Up @@ -267,6 +267,12 @@ void sdb(Voice * currentVoice, const char * currLine, int len)
case 'D':
sdb_show_bp();
break;
case 'l':
{
extern void listall(int showproc);
listall(FALSE);
break;
}
case 'n':
currentVoice->pi->trace_flag|= 1;
return;
Expand All @@ -279,7 +285,8 @@ void sdb(Voice * currentVoice, const char * currLine, int len)
case 'p':
{
p=sdb_find_arg(p);
Print("variable `%s`",p);
extern int myynest;
Print("variable `%s`at level %d",p,myynest);
idhdl h=ggetid(p);
if (h==NULL)
PrintS(" not found\n");
Expand Down

0 comments on commit 67e5ab0

Please sign in to comment.