[patch] have sim-model.c include sim-model.h
Doug Evans
dje@google.com
Thu Feb 4 21:39:00 GMT 2010
On Wed, Feb 3, 2010 at 11:09 PM, Mike Frysinger <vapier@gentoo.org> wrote:
> the sim-model.c code obviously uses things from sim-model.h, but doesnt
> explicitly include it. instead, it relies on sim-main.h to pull it in. when
> doing a new port and building this file, the errors reported can be pretty
> confusing. so pull in sim-model.h to make the process a bit smoother.
>
> 2010-02-04 Mike Frysinger <vapier@gentoo.org>
>
> * sim-model.c: Include sim-model.h
>
> RCS file: /cvs/src/src/sim/common/sim-model.c,v
> retrieving revision 1.6
> diff -u -p -r1.6 sim-model.c
> --- sim/common/sim-model.c 1 Jan 2010 10:03:27 -0000 1.6
> +++ sim/common/sim-model.c 4 Feb 2010 07:02:42 -0000
> @@ -19,6 +19,7 @@ You should have received a copy of the G
> along with this program. If not, see <http://www.gnu.org/licenses/>. */
>
> #include "sim-main.h"
> +#include "sim-model.h"
> #include "libiberty.h"
> #include "sim-options.h"
> #include "sim-io.h"
>
Hi. This patch is ok with me. Thanks.
More information about the Gdb-patches
mailing list