diff options
author | Mike Stump <mikestump@comcast.net> | 2013-11-20 00:50:47 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 2013-11-20 00:50:47 +0000 |
commit | 605be31e3f0c0aeec8a253dd7dcf3d6953c5611a (patch) | |
tree | bddcebf770ac3533898904d6b7c9019b83892eb2 | |
parent | e67d54884010250bd28b415ffde5654e0bdd294d (diff) | |
download | gcc-605be31e3f0c0aeec8a253dd7dcf3d6953c5611a.zip gcc-605be31e3f0c0aeec8a253dd7dcf3d6953c5611a.tar.gz gcc-605be31e3f0c0aeec8a253dd7dcf3d6953c5611a.tar.bz2 |
* gdbinit.in: Add pmz to print out mpz values.
From-SVN: r205071
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gdbinit.in | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f2c7335..5467c8f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-11-19 Mike Stump <mikestump@comcast.net> + + * gdbinit.in: Add pmz to print out mpz values. + 2013-11-20 Jan Hubicka <jh@suse.cz> * common.opt (ffat-lto-objects): Disable by default. diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in index c60cab1..aa0bf9b 100644 --- a/gcc/gdbinit.in +++ b/gcc/gdbinit.in @@ -94,6 +94,15 @@ Print the expression that is $ in C syntax. Works only when an inferior is executing. end +define pmz +set mpz_out_str(stderr, 10, $) +end + +document pmz +Print the mpz value that is $ +Works only when an inferior is executing. +end + define ptc output (enum tree_code) $.common.code echo \n |