This is the mail archive of the
insight-prs@sources.redhat.com
mailing list for the Insight project.
Re: insight/85
- To: nobody at sourceware dot cygnus dot com
- Subject: Re: insight/85
- From: "Toine Litjens" <toine at inducom dot nl>
- Date: 3 Jul 2001 08:23:01 -0000
- Cc: insight-prs at sourceware dot cygnus dot com,
- Reply-To: "Toine Litjens" <toine at inducom dot nl>
The following reply was made to PR insight/85; it has been noted by GNATS.
From: "Toine Litjens" <toine@inducom.nl>
To: <insight-gnats@sourceware.cygnus.com>,
<insight-prs@sourceware.cygnus.com>, <hyc@microplex.com>,
<nobody@sourceware.cygnus.com>
Cc:
Subject: Re: insight/85
Date: Tue, 3 Jul 2001 09:58:26 +0200
http://sources.redhat.com/cgi-bin/gnatsweb.pl?cmd=view&pr=85&database=insigh
t
A define in defs.h is declared too late.
Move the #include "defs.h" in the file sim_calls.c below #include
"options.h"
====
include section of: insight-5.0\sim\ppc\sim_calls.c
===
#include <signal.h> /* FIXME - should be machine dependant version */
#include <stdarg.h>
#include <ctype.h>
#include "psim.h"
#include "options.h"
#include "defs.h"
#undef printf_filtered /* blow away the mapping */
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
#endif
#ifdef HAVE_STRING_H
#include <string.h>
#else
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif
#endif
#include "bfd.h"
#include "callback.h"
#include "remote-sim.h"