spielwiese
Last change
on this file since 21b9ef was
21b9ef,
checked in by Oleksandr Motsak <motsak@…>, 10 years ago
|
Added n_Print for printing numbers during debugging
|
-
Property mode set to
100644
|
File size:
587 bytes
|
Line | |
---|
1 | break dErrorBreak |
---|
2 | break omReportError |
---|
3 | |
---|
4 | |
---|
5 | ### http://sourceware.org/gdb/onlinedocs/gdb/Define.html#Define |
---|
6 | |
---|
7 | # print poly ring |
---|
8 | define pp |
---|
9 | if $argc > 0 |
---|
10 | print $arg0 |
---|
11 | if $arg0 != 0 |
---|
12 | print *$arg0 |
---|
13 | |
---|
14 | if $argc == 2 |
---|
15 | call p_Write($arg0, $arg1) |
---|
16 | else |
---|
17 | call p_Write($arg0, currRing) |
---|
18 | end |
---|
19 | end |
---|
20 | end |
---|
21 | end |
---|
22 | |
---|
23 | |
---|
24 | |
---|
25 | # print number coeffs |
---|
26 | define 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 |
---|
39 | end |
---|
40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.