Debian Codegraph @

gmp4/.gdbinit

raw
1 # Copyright 1999 Free Software Foundation, Inc.
2 #
3 # This file is part of the GNU MP Library.
4 #
5 # The GNU MP Library is free software; you can redistribute it and/or modify
6 # it under the terms of either:
7 #
8 # * the GNU Lesser General Public License as published by the Free
9 # Software Foundation; either version 3 of the License, or (at your
10 # option) any later version.
11 #
12 # or
13 #
14 # * the GNU General Public License as published by the Free Software
15 # Foundation; either version 2 of the License, or (at your option) any
16 # later version.
17 #
18 # or both in parallel, as here.
19 #
20 # The GNU MP Library is distributed in the hope that it will be useful, but
21 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
22 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23 # for more details.
24 #
25 # You should have received copies of the GNU General Public License and the
26 # GNU Lesser General Public License along with the GNU MP Library. If not,
27 # see https://www.gnu.org/licenses/.
28
29
30 define pz
31 set __gmpz_dump ($)
32 end
33
34 define pq
35 set __gmpz_dump ($->_mp_num)
36 echo /
37 set __gmpz_dump ($->_mp_den)
38 end
39
40 define pf
41 set __gmpf_dump ($)
42 end
43