Changeset 21b9ef in git for .gdbinit


Ignore:
Timestamp:
Feb 22, 2013, 11:09:40 AM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
Children:
a77d2792a2d6c14b59535b46c2dee9aba649b9b0
Parents:
603ac7ad326e99497d87fc21e0568f6fb89ad139
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-02-22 11:09:40+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2013-02-22 11:12:58+01:00
Message:
Added n_Print for printing numbers during debugging
File:
1 edited

Legend:

Unmodified
Added
Removed
  • .gdbinit

    r603ac7a r21b9ef  
    2121end
    2222     
     23
     24
     25# print number coeffs
     26define nn
     27  if $argc > 0
     28    print $arg0
     29    if $arg0 != 0
     30      print *$arg0
     31
     32      if $argc == 2
     33        call n_Print($arg0, $arg1)
     34      else
     35        call n_Print($arg0, currRing->cf)
     36      end
     37    end
     38  end
     39end
     40     
Note: See TracChangeset for help on using the changeset viewer.