This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: Fix build regression on 32-bit hosts [Re: [RFA][PATCH v5 2/2] S/390: Add TDB regset]
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: pierre dot muller at ics-cnrs dot unistra dot fr, uweigand at de dot ibm dot com, gdb-patches at sourceware dot org
- Date: Mon, 16 Sep 2013 16:53:20 +0300
- Subject: Re: RFA: Fix build regression on 32-bit hosts [Re: [RFA][PATCH v5 2/2] S/390: Add TDB regset]
- Authentication-results: sourceware.org; auth=none
- References: <"002701ceb25b$2e880fc0$8b982f40$ at muller"@ics-cnrs.unistra.fr> <201309160951 dot r8G9pr5B021687 at d06av02 dot portsmouth dot uk dot ibm dot com> <"003e01ceb2d0$c5051770$4f0f4650$ at muller"@ics-cnrs.unistra.fr> <20130916122345 dot GA3132 at adacore dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Mon, 16 Sep 2013 05:23:45 -0700
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: 'Ulrich Weigand' <uweigand@de.ibm.com>, gdb-patches@sourceware.org
>
> > PS:I think that system includes should be banned
> > in all files that are used for cross-debugging.
>
> This is already the main idea, except that we cannot banish
> all system includes. For instance, includes that are part of
> the C standard are OK (ctype.h, stdint.h, stdarg.h, etc) are
> fine.
Except that, if we want to be sure extensions in those headers don't
pollute the binaries, we should try using __STRICT_ANSI__ or some
such.