#799 closed defect (fixed)

powerpc/mpc8260ads: missing rdbg support

Reported by: Ralf Corsepius Owned by: Joel Sherrill
Priority: normal Milestone: 2
Component: bsps Version: unknown
Severity: major Keywords:
Cc: bugs@…, ralf.corsepius@… Blocked By:
Blocking:

Description

rdbg is supposed to be supported by all new-exception powerpc BSPs

gmake[1]: Entering directory `/users/rtems/src/rtems-cvs/build/powerpc/powerpc-rtems4.7/c/mpc8260ads/librdbg'
if powerpc-rtems4.7-gcc --pipe -B../../../lib/ -B../../../mpc8260ads/lib/ -specs bsp_specs -qrtems -DPACKAGE_NAME=\"rtems-c-src\" -DPACKAGE_TARNAME=\"rtems-c-src\" -DPACKAGE_VERSION=\"4.6.99.1\" -DPACKAGE_STRING=\"rtems-c-src\ 4.6.99.1\" -DPACKAGE_BUGREPORT=\"rtems-bugs@…\" -I. -I../../../../../../rtems.orig/c/src/librdbg -isystem ../../../mpc8260ads/lib/include -Wall -mcpu=603e -mstrict-align -Dmpc8260 -O4 -fno-keep-inline-functions -MT src/librdbg_a-rdbg.o -MD -MP -MF "src/.deps/librdbg_a-rdbg.Tpo" -c -o src/librdbg_a-rdbg.o test -f 'src/rdbg.c' || echo '../../../../../../rtems.orig/c/src/librdbg/'src/rdbg.c; \
then mv -f "src/.deps/librdbg_a-rdbg.Tpo" "src/.deps/librdbg_a-rdbg.Po"; else rm -f "src/.deps/librdbg_a-rdbg.Tpo"; exit 1; fi
In file included from ../../../../../../rtems.orig/c/src/librdbg/src/rdbg.c:17:
../../../mpc8260ads/lib/include/rdbg/rdbg.h:59: error: parse error before 'CPU_Exception_frame'
../../../mpc8260ads/lib/include/rdbg/rdbg.h:66: error: parse error before 'CPU_Exception_frame'
../../../mpc8260ads/lib/include/rdbg/rdbg.h:68: error: parse error before '*' token
../../../mpc8260ads/lib/include/rdbg/rdbg.h:69: error: parse error before '*' token
../../../mpc8260ads/lib/include/rdbg/rdbg.h:70: error: parse error before '*' token
../../../mpc8260ads/lib/include/rdbg/rdbg.h:71: error: parse error before '*' token
../../../mpc8260ads/lib/include/rdbg/rdbg.h:72: error: parse error before '*' token
../../../mpc8260ads/lib/include/rdbg/rdbg.h:73: error: parse error before 'CPU_Exception_frame'
../../../mpc8260ads/lib/include/rdbg/rdbg.h:77: error: parse error before 'CPU_Exception_frame'
../../../mpc8260ads/lib/include/rdbg/rdbg.h:79: error: parse error before 'CPU_Exception_frame'
../../../mpc8260ads/lib/include/rdbg/rdbg.h:81: error: parse error before 'CPU_Exception_frame'
../../../mpc8260ads/lib/include/rdbg/rdbg.h:82: error: parse error before '*' token
In file included from ../../../mpc8260ads/lib/include/rdbg/rdbg.h:90,

from ../../../../../../rtems.orig/c/src/librdbg/src/rdbg.c:17:

../../../mpc8260ads/lib/include/rdbg/rdbg_f.h:20: error: parse error before '*' token
../../../mpc8260ads/lib/include/rdbg/rdbg_f.h: In function 'isRdbgException':
../../../mpc8260ads/lib/include/rdbg/rdbg_f.h:23: error: 'ctx' undeclared (first use in this function)
../../../mpc8260ads/lib/include/rdbg/rdbg_f.h:23: error: (Each undeclared identifier is reported only once
../../../mpc8260ads/lib/include/rdbg/rdbg_f.h:23: error: for each function it appears in.)
../../../mpc8260ads/lib/include/rdbg/rdbg_f.h: At top level:
../../../mpc8260ads/lib/include/rdbg/rdbg_f.h:29: error: parse error before '*' token
../../../mpc8260ads/lib/include/rdbg/rdbg_f.h: In function 'getExcNum':
../../../mpc8260ads/lib/include/rdbg/rdbg_f.h:31: error: 'ctx' undeclared (first use in this function)
In file included from ../../../../../../rtems.orig/c/src/librdbg/src/rdbg.c:18:
../../../mpc8260ads/lib/include/rdbg/servrpc.h: At top level:
../../../mpc8260ads/lib/include/rdbg/servrpc.h:237: error: parse error before 'CPU_Exception_frame'
gmake[1]: * [src/librdbg_a-rdbg.o] Error 1
gmake[1]: Leaving directory `/users/rtems/src/rtems-cvs/build/powerpc/powerpc-rtems4.7/c/mpc8260ads/librdbg'

Release:
unknown

Attachments (1)

pr799.diff (470 bytes) - added by Ralf Corsepius on 12/03/06 at 13:31:12.
pr799.diff

Download all attachments as: .zip

Change History (4)

comment:1 Changed on 05/25/05 at 17:31:14 by Joel Sherrill

Status: assignedclosed

comment:2 Changed on 05/26/05 at 03:55:30 by Ralf Corsepius

Status: closedwaiting

comment:3 Changed on 05/26/05 at 16:14:36 by Joel Sherrill

Status: waitingclosed

State-Changed-From-To: feedback->closed
State-Changed-Why: I really applied the patch this time.

Changed on 12/03/06 at 13:31:12 by Ralf Corsepius

Attachment: pr799.diff added

pr799.diff

Note: See TracTickets for help on using tickets.