This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] long long for printf on MinGW
On Wed, Oct 11, 2006 at 10:28:21PM +0200, Mark Kettenis wrote:
> Actually I think the way we support size modifiers in gdb's printf are
> completely broken. Do they refer to the host types, or the target types?
Good question: which do you want them to refer to?
I have already rewritten this file pretty much from scratch once in
2006, so I'm understandably not too eager to do it again :-) But if we
must, then we must.
I do not see any clear way to support target types while still taking
advantage of the host printf, however. Perhaps I should go back to my
prototype patch for line wrapping, which would let us import bits of
"gnulib". Which has a nice thorough printf format string parser
that we might be able to reuse.
--
Daniel Jacobowitz
CodeSourcery