This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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] sim/MAINTAINERS clarifications.


>  (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




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