This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Make StdVectorPrinter in printers.py compatible with ddd


On 24 March 2011 17:51, Hans Erickson wrote:
> The current version of to_string in StdVectorPrinter uses an embedded
> comma, which messes up the parsing done by ddd, and maybe other gdb
> front-ends as well.? This patch changes the format so that ddd can
> parse it.

Thanks, Hans, I tested the patch briefly and have no objections to the
change.  Putting the capacity in parentheses is consistent with how we
display the reference count for shared_ptr, and how I plan to display
some metadata for std::future and related classes.

If noone else objects I'll commit it to trunk in a day or two.

(N.B. patches for libstdc++ should be sent to this list and
gcc-patches@gcc.gnu.org)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]