Re: [RFC] Add support for PPC Altivec registers in gcore

Ulrich Weigand
2008-03-25T20:13:23Z

Carlos Eduardo Seo wrote:
> Ulrich Weigand wrote:
> > I'd prefer *not* to include a new header file here; a forward
> > declaration of the struct should be enough:
> > struct core_regset_section;
>
> A forward declaration here doesn't seem to work.

What exactly seems to be the problem? The following
code should be valid C, and compiles fine with GCC:

struct core_regset_section;
extern struct core_regset_section default_regset_sections[];

Bye,
Ulrich

--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com