From: Mike Stump Date: Wed, 20 Nov 2013 00:50:47 +0000 (+0000) Subject: * gdbinit.in: Add pmz to print out mpz values. X-Git-Tag: releases/gcc-4.9.0~2621 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=605be31e3f0c0aeec8a253dd7dcf3d6953c5611a;p=thirdparty%2Fgcc.git * gdbinit.in: Add pmz to print out mpz values. From-SVN: r205071 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f2c733564c6a..5467c8fffe9d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-11-19 Mike Stump + + * gdbinit.in: Add pmz to print out mpz values. + 2013-11-20 Jan Hubicka * common.opt (ffat-lto-objects): Disable by default. diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in index c60cab1df2df..aa0bf9beda6b 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