From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25860 invoked by alias); 2 Jan 2007 14:34:35 -0000 Received: (qmail 25852 invoked by uid 22791); 2 Jan 2007 14:34:35 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 02 Jan 2007 14:34:28 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H1kib-0002nN-1b; Tue, 02 Jan 2007 09:34:21 -0500 Date: Tue, 02 Jan 2007 14:34:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [RFC/RFA] Add support for catch Ada exceptions (take 2) Message-ID: <20070102143420.GB10603@nevyn.them.org> Mail-Followup-To: Joel Brobecker , Eli Zaretskii , gdb-patches@sourceware.org References: <20061231060649.GF25236@adacore.com> <20070102054523.GF17211@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070102054523.GF17211@adacore.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00050.txt.bz2 On Tue, Jan 02, 2007 at 09:45:23AM +0400, Joel Brobecker wrote: > I prefer this solution over using xsnprintf as suggested by Mark, > because we then introduce an arbitrary constant. But it's only a mild > preference, however, so let me know if you prefer it like this: > > char msg[512]; > xsnprintf (msg, sizeof (msg), _("`%s' Ada exception"), b->addr_string); You could use xstrprintf instead. -- Daniel Jacobowitz CodeSourcery