This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] cgen/i960, desc vs configure wrt PROFILE
- To: cgen at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- Subject: [patch] cgen/i960, desc vs configure wrt PROFILE
- From: DJ Delorie <dj at redhat dot com>
- Date: Mon, 5 Feb 2001 19:26:05 -0500
- CC: dj at greed dot delorie dot com
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? I tried rebuilding the i960 with latest cgen, but that
broke even worse.
2001-02-05 DJ Delorie <dj@redhat.com>
* desc-cpu.scm (gen-gw-table-defns): Undefine PROFILE.
2001-02-05 DJ Delorie <dj@redhat.com>
* i960-desc.c (i960_cgen_hw_table): Undefine PROFILE.
Index: cgen/desc-cpu.scm
===================================================================
RCS file: /cvs/uberbaum/cgen/desc-cpu.scm,v
retrieving revision 1.6
diff -p -3 -r1.6 desc-cpu.scm
*** desc-cpu.scm 2001/02/02 22:50:13 1.6
--- desc-cpu.scm 2001/02/06 00:23:17
*************** const CGEN_IFLD @arch@_cgen_ifld_table[]
*** 254,259 ****
--- 254,260 ----
"
(gen-define-with-symcat "A(a) (1 << CGEN_HW_" "a)")
"
+ #undef PROFILE
const CGEN_HW_ENTRY @arch@_cgen_hw_table[] =
{
"
Index: sim/i960/i960-desc.c
===================================================================
RCS file: /cvs/uberbaum/sim/i960/i960-desc.c,v
retrieving revision 1.1.1.3
diff -p -3 -r1.1.1.3 i960-desc.c
*** i960-desc.c 1999/05/05 14:45:45 1.1.1.3
--- i960-desc.c 2001/02/06 00:23:45
*************** CGEN_KEYWORD i960_cgen_opval_h_cc =
*** 186,191 ****
--- 186,192 ----
#define A(a) (1 << CONCAT2 (CGEN_HW_,a))
+ #undef PROFILE
const CGEN_HW_ENTRY i960_cgen_hw_table[] =
{
{ "h-memory", HW_H_MEMORY, CGEN_ASM_NONE, 0, { 0, { (1<<MACH_BASE) } } },