[RFC/RFA] Add support for catch Ada exceptions (take 2)

Daniel Jacobowitz drow@false.org
Tue Jan 2 14:34:00 GMT 2007


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



More information about the Gdb-patches mailing list