This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [patch] cgen/i960, desc vs configure wrt PROFILE


Hi -

On Mon, Feb 05, 2001 at 07:26:05PM -0500, DJ Delorie wrote:
: Configure adds -DPROFILE=1 to the build, but i960-desc.c uses
: A(PROFILE) and ends up with CGEN_HW_1 being undefined.  OK to commit
: these two?  

Upon looking again at this recurrent problem, I'm sure that merely
#undef-ing is the wrong solution.


: I tried rebuilding the i960 with latest cgen, but that
: broke even worse. [...]

Eek - that should work!


In the mean time, consider copying the definition of the "A()" macro
from more recently generated sims, into i960-desc.c:

#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
#define A(a) (1 << CGEN_HW_##a)
#else
#define A(a) (1 << CGEN_HW_/**/a)
#endif


- FChE

PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]