This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Remove defs.h #include in rs6000-tdep.h
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: brobecker at adacore dot com
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 20 Dec 2007 17:00:24 +0100 (CET)
- Subject: Re: [RFA] Remove defs.h #include in rs6000-tdep.h
- References: <20071220154620.GG6184@adacore.com>
> Date: Thu, 20 Dec 2007 19:46:20 +0400
> From: Joel Brobecker <brobecker@adacore.com>
>
> This is the only other #include of defs.h in a .h file that I could find,
> and I wouldn't mind a second look.
Looks ok.
> I noticed that it was also missing an opaque declaration of struct
> frame_info, so I added it as well.
There is one in "defs.h", but it doesn't hurt.
> 2007-12-20 Joel Brobecker <brobecker@adacore.com>
>
> * rs6000-tdep.h: Remove defs.h #include.
> (struct frame_info): Add opaque declaration.
> * Makefile.in (rs6000_tdep_h): Update dependencies.