This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFC: Patch to allow compilation by Sun cc
- To: Hilfinger at cs dot berkeley dot edu
- Subject: Re: RFC: Patch to allow compilation by Sun cc
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 01 Feb 2001 11:12:14 -0800
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200102011905.LAA21374@tully.CS.Berkeley.EDU>
Paul Hilfinger wrote:
>
> OK, this was annoying:
>
> 1. That particular parameter is actually an enum target_signal, and
> some calls of this macro supply that.
> 2. So I ought to declare it as enum target_signal in the header file,
> BUT
> 3. We apparently can't count on enum target_signal being defined when
> the header is included.
See the currently tabled patch:
http://sources.redhat.com/ml/gdb-patches/2001-01/msg00206.html
part of it moves the enum to defs.h. I think it is less of a compromise
than a cast.
Andrew