From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27487 invoked by alias); 30 Jun 2003 07:48:44 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 27480 invoked from network); 30 Jun 2003 07:48:43 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 30 Jun 2003 07:48:43 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id 23CEA14A3C for ; Mon, 30 Jun 2003 09:48:43 +0200 (MEST) To: gdb@sources.redhat.com Subject: Question about warning in gdb/remote.c From: Andreas Jaeger Date: Mon, 30 Jun 2003 13:15:00 -0000 Message-ID: User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Portable Code, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2003-06/txt/msg00547.txt.bz2 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