This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: small changes of gdbinit.in
On Wed, Jan 23, 2008 at 02:31:11PM +0800, Eric Fisher wrote:
> I guess that the argument of the user defined command in gdbinit.in
> should be $arg0. Also, due to the changes of the structure tree node,
> ptc should be,
No, the use of $ is deliberate. Print the value you want, then type
ptc by itself. Whether this is the best way or not is up for
discussion, but it's done on purpose :-)
--
Daniel Jacobowitz
CodeSourcery