This is the mail archive of the
mailing list for the GDB project.
Re: ui_out format strings for fields and styles (Re: [PATCH] Style "pwd" output)
Tom> My patch also removes (really just comments out) %pS and %pN in favor of
Tom> requiring %ps. Those could be restored with a bit of effort I guess.
I think we do need these.
I have been trying a patch to style gdb's meta-data output, stuff like
<unavailable>. There are cases where the <...> contains some other
fprintf_filtered (stream, " <repeats %u times>", reps);
Here we want to rewrite as:
fprintf_filtered (stream, " %pS<repeats %u times>%pN",
metadata_style.style ().ptr (), reps, nullptr);