This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: New ARI warning Thu May 16 01:51:20 UTC 2013 in -D 2013-05-16-gmt
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 16 May 2013 13:21:47 +0400
- Subject: Re: New ARI warning Thu May 16 01:51:20 UTC 2013 in -D 2013-05-16-gmt
- References: <20130516015120 dot GA6560 at sourceware dot org> <20130516073032 dot GD5555 at adacore dot com> <003001ce5209$72193140$564b93c0$ at muller@ics-cnrs.unistra.fr>
> One other solution would be to
> add some changes to gdb_ari.sh that would
> automatically parse
> #if 0
> Blabla
> #else
> Real code
> #endif
>
> and consider Blabla as being only comments?
>
> The main problem is that there is until now no code at all for parsing
> of conditionals and I am not so sure to be able to correctly handle
> nesting levels and complicated conditions...
I, too, get the feeling that this would be overkill. The ARI is really
a simple tool, and it would be nice if it remained simple in its
implementation.
--
Joel