source: git/.gdbinit @ c41619

spielwiese
Last change on this file since c41619 was 9c933c8, checked in by Hans Schoenemann <hannes@…>, 9 years ago
no default break points in the .gdbinit for everyone
  • Property mode set to 100644
File size: 556 bytes
Line 
1break dErrorBreak
2
3
4
5### http://sourceware.org/gdb/onlinedocs/gdb/Define.html#Define
6
7# print poly ring
8define 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
21end
22
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 TracBrowser for help on using the repository browser.