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

