This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] sim/MAINTAINERS clarifications.
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: cgd at broadcom dot com
- Cc: cagney at redhat dot com, gdb-patches at sources dot redhat dot com
- Date: Thu, 07 Mar 2002 17:22:57 -0500
- Subject: Re: [PATCH] sim/MAINTAINERS clarifications.
- References: <yov5u1rsf7kr.fsf@broadcom.com>
> (I'm just wondering who the right person I should pester about a
> quick approval for
> http://sources.redhat.com/ml/gdb-patches/2002-03/msg00055.html,
> since the common part of that is trivial and seems obviously useful,
> to me. 8-)
Sorry, missed it. I've been assuming that you didn't need approval in
src/sim.
> + else if (strncmp (fmt, "%#lx<", 5) == 0)
> + /* simple hex with 0x prefix*/
> + {
> + if (pass == 1)
> + lf_printf (file, "%%#lx");
> + else
> + {
> + lf_printf (file, "(unsigned long) ");
> + lf_write (file, param, strlen_param);
> + }
> + }
``#''? Read man page. Ah, cute.
The format string should as far as possible look, smell, and even taste
like fprintf() formats so yes.
Andrew