forked from Singular/Singular
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gdbinit
More file actions
43 lines (32 loc) · 693 Bytes
/
.gdbinit
File metadata and controls
43 lines (32 loc) · 693 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
break dErrorBreak
#break omReportError # use in case of problems with omaloc
#break dPolyReportError # use in case of problems with polynomial arithmetic
### http://sourceware.org/gdb/onlinedocs/gdb/Define.html#Define
# print poly ring
define pp
if $argc > 0
print $arg0
if $arg0 != 0
print *$arg0
if $argc == 2
call p_Write($arg0, $arg1)
else
call p_Write($arg0, currRing)
end
end
end
end
# print number coeffs
define nn
if $argc > 0
print $arg0
if $arg0 != 0
print *$arg0
if $argc == 2
call n_Print($arg0, $arg1)
else
call n_Print($arg0, currRing->cf)
end
end
end
end