Question about warning in gdb/remote.c

Andreas Jaeger aj@suse.de
Mon Jun 30 13:15:00 GMT 2003


compiling gdb I get this warning:
/cvs/src-gdb/src/gdb/remote.c:3290: warning: too many arguments for format

What is supposed to happen here?  The line is:
		  error ("Remote register badly formatted: %s\nhere:", buf, p);

Should a %s added for p at the end - or should p get removed?

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SuSE Linux AG, Deutschherrnstr. 15-19, 90429 Nürnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126



More information about the Gdb mailing list