This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: ui_out format strings for fields and styles (Re: [PATCH] Style "pwd" output)
>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:
Pedro> Yes, I think so. I think the main issue is that cli_style_option::style()
Pedro> returns a new temporary ui_file_style, so we can't take its address, like in:
If it had a 'ptr ()' method, wouldn't the temporary live long enough in
the callee for it to work?
Pedro> Please push. I don't know either, but undoing a patch on a branch is
Pedro> simple enough if we find that we want to do that. :-)
I did it.
Tom