This is the mail archive of the gdb-prs@sourceware.org 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]
Other format: [Raw text]

[Bug sim/12389] New: ppc-instructions:*:*: error: 'MODEL_ppc601'undeclared (first use in this function)


http://sourceware.org/bugzilla/show_bug.cgi?id=12389

           Summary: ppc-instructions:*:*: error: 'MODEL_ppc601' undeclared
                    (first use in this function)
           Product: gdb
           Version: 7.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: sim
        AssignedTo: unassigned@sourceware.org
        ReportedBy: skunk@iskunk.org
              Host: powerpc-ibm-aix5.3.0.0
            Target: powerpc-ibm-aix5.3.0.0
             Build: powerpc-ibm-aix5.3.0.0


Trying to build GDB 7.2 on AIX 5.3:

[...]
gmake[2]: Entering directory `/tmp/gdb-build/sim'
gmake[3]: Entering directory `/tmp/gdb-build/sim/ppc'
tg-gcc -c -pedantic -pipe -fno-common -W -Wall -Wcast-align -Wformat=2
-Wpointer-arith -Wundef -Waggregate-return -Wcast-qual -Wmissing-declarations
-Wnested-externs -Wstrict-prototypes -maix64 -mminimal-toc -O3
-DDEFAULT_INLINE=PSIM_INLINE_LOCALS     -DWITH_HOST_BYTE_ORDER=BIG_ENDIAN
-DWITH_SMP=5              -DHAVE_TERMIO_STRUCTURE -DHAVE_TERMIO_CLINE
-DHAVE_DEVZERO     -I. -I/tmp/gdb-7.2/sim/ppc
-I/tmp/gdb-7.2/sim/ppc/../../include -I../../bfd
-I/tmp/gdb-7.2/sim/ppc/../../bfd -I../../gdb -I/tmp/gdb-7.2/sim/ppc/../../gdb 
-I/tmp/gdb-7.2/sim/ppc/../../gdb/config  -DHAVE_COMMON_FPU -I../common
-I/tmp/gdb-7.2/sim/ppc/../common icache.c
In file included from /tmp/gdb-7.2/sim/ppc/cpu.h:25:0,
                 from icache.c:28:
/tmp/gdb-7.2/sim/ppc/basics.h:58:15: warning: comma at end of enumerator list
/tmp/gdb-7.2/sim/ppc/basics.h:73:18: warning: comma at end of enumerator list
[...]
/tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:7: warning: line number out of range
/tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:28: error: 'MODEL_ppc601' undeclared
(first use in this function)
/tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:28: note: each undeclared identifier
is reported only once for each function it appears in
/tmp/gdb-7.2/sim/ppc/ppc-instructions:4757:7: warning: line number out of range
icache.c:34532:7: warning: line number out of range
/tmp/gdb-7.2/sim/ppc/ppc-instructions: In function
'icache_Floating_Select_FRC0_Rc1':
/tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:7: warning: line number out of range
/tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:7: warning: line number out of range
icache.c:34595:27: warning: ISO C forbids assignment between function pointer
and 'void *'
/tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:7: warning: line number out of range
/tmp/gdb-7.2/sim/ppc/ppc-instructions:4746:28: error: 'MODEL_ppc601' undeclared
(first use in this function)
/tmp/gdb-7.2/sim/ppc/ppc-instructions:4757:7: warning: line number out of range
[...]
gmake[3]: *** [icache.o] Error 1
gmake[3]: Leaving directory `/tmp/gdb-build/sim/ppc'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/tmp/gdb-build/sim'
gmake[1]: *** [all-sim] Error 2
gmake[1]: Leaving directory `/tmp/gdb-build'
gmake: *** [all] Error 2


There were a total of 64 errors relating to 'MODEL_ppc601' in this file.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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