source: git/.gdbinit @ 75f460

spielwiese
Last change on this file since 75f460 was 75f460, checked in by Hans Schoenemann <hannes@…>, 9 years ago
format
  • Property mode set to 100644
File size: 599 bytes
Line 
1break dErrorBreak
2break omReportError
3break dPolyReportError
4
5
6
7### http://sourceware.org/gdb/onlinedocs/gdb/Define.html#Define
8
9# print poly ring
10define pp
11  if $argc > 0
12    print $arg0
13    if $arg0 != 0
14      print *$arg0
15
16      if $argc == 2
17        call p_Write($arg0, $arg1)
18      else
19        call p_Write($arg0, currRing)
20      end
21    end
22  end
23end
24
25
26
27# print number coeffs
28define nn
29  if $argc > 0
30    print $arg0
31    if $arg0 != 0
32      print *$arg0
33
34      if $argc == 2
35        call n_Print($arg0, $arg1)
36      else
37        call n_Print($arg0, currRing->cf)
38      end
39    end
40  end
41end
42
Note: See TracBrowser for help on using the repository browser.