source: git/.gdbinit @ 670e639

fieker-DuValspielwiese
Last change on this file since 670e639 was 8154c3, checked in by Oleksandr Motsak <motsak@…>, 9 years ago
Added possible breakpoints for some special cases
  • Property mode set to 100644
File size: 706 bytes
Line 
1break dErrorBreak
2
3#break omReportError # use in case of problems with omaloc
4#break dPolyReportError # use in case of problems with polynomial arithmetic
5             
6
7
8### http://sourceware.org/gdb/onlinedocs/gdb/Define.html#Define
9
10# print poly ring
11define pp
12  if $argc > 0
13    print $arg0
14    if $arg0 != 0
15      print *$arg0
16
17      if $argc == 2
18        call p_Write($arg0, $arg1)
19      else
20        call p_Write($arg0, currRing)
21      end
22    end
23  end
24end
25
26
27
28# print number coeffs
29define nn
30  if $argc > 0
31    print $arg0
32    if $arg0 != 0
33      print *$arg0
34
35      if $argc == 2
36        call n_Print($arg0, $arg1)
37      else
38        call n_Print($arg0, currRing->cf)
39      end
40    end
41  end
42end
43
Note: See TracBrowser for help on using the repository browser.