This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] (dump_raw_expression): Print note if non-NULL.
- From: Tom Tromey <tromey at redhat dot com>
- To: dje at google dot com (Doug Evans)
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 17 Mar 2009 19:23:52 -0600
- Subject: Re: [RFA] (dump_raw_expression): Print note if non-NULL.
- References: <20090317220433.BDAD01C7301@localhost>
- Reply-to: tromey at redhat dot com
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Doug> Ok to check in?
Doug> 2009-03-17 Doug Evans <dje@google.com>
Doug> * expprint.c (dump_raw_expression): Print note if non-NULL.
Looks good to me, please go ahead.
Doug> - fprintf_filtered (stream, "'\n\tLanguage %s, %d elements, %ld bytes each.\n",
Doug> + if (note)
Doug> + fprintf_filtered (stream, ", %s:", note);
Doug> + fprintf_filtered (stream, "\n\tLanguage %s, %d elements, %ld bytes each.\n",
I notice that this removes a single quote (see the old fprintf_filtered).
But, I can't see why we would want that anyway.
Tom