This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC/RFA] Add support for catch Ada exceptions (take 2)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: Eli Zaretskii <eliz at gnu dot org>, gdb-patches at sourceware dot org
- Date: Tue, 2 Jan 2007 09:34:21 -0500
- Subject: Re: [RFC/RFA] Add support for catch Ada exceptions (take 2)
- References: <20061231060649.GF25236@adacore.com> <uwt47afr4.fsf@gnu.org> <20070102054523.GF17211@adacore.com>
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