Index: current/src/v850_stub.c =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/v85x/v850/current/src/v850_stub.c,v retrieving revision 1.6 diff -u -5 -r1.6 v850_stub.c --- current/src/v850_stub.c 23 May 2002 23:05:44 -0000 1.6 +++ current/src/v850_stub.c 30 Mar 2003 15:49:01 -0000 @@ -309,16 +309,17 @@ } /* Skip the current instruction. Since this is only called by the stub when the PC points to a breakpoint or trap instruction, + we can safely just skip 1. */ void __skipinst (void) { unsigned short *pc = (unsigned short *)get_register(PC); - pc = next_pc(pc); + pc++; put_register(PC, (unsigned long)pc); } #endif // CYGDBG_HAL_DEBUG_GDB_INCLUDE_STUBS Index: current/src/v85x_v850.ld =================================================================== RCS file: /cvs/ecos/ecos/packages/hal/v85x/v850/current/src/v85x_v850.ld,v retrieving revision 1.6 diff -u -5 -r1.6 v85x_v850.ld --- current/src/v85x_v850.ld 23 May 2002 23:05:45 -0000 1.6 +++ current/src/v85x_v850.ld 30 Mar 2003 15:49:01 -0000 @@ -124,11 +124,12 @@ _GOT2_START_ = ABSOLUTE (.); *(.got2) _GOT2_END_ = ABSOLUTE (.); \ . = ALIGN (4); \ KEEP(*( SORT (.ecos.table.*))) ; \ ___CTOR_LIST__ = ABSOLUTE (.); KEEP (*(SORT (.ctors*))) ___CTOR_END__ = ABSOLUTE (.); \ ___DTOR_LIST__ = ABSOLUTE (.); KEEP (*(SORT (.dtors*))) ___DTOR_END__ = ABSOLUTE (.); \ - *(.dynamic) *(.sdata*) *(.sbss*) } \ + *(.dynamic) *(.sdata*) *(.sbss*) \ + . = ALIGN (4); *(.2ram.*) } \ > _region_ \ ___rom_data_start = LOADADDR (.data); \ ___ram_data_end = .; PROVIDE (___ram_data_end = .); _edata = .; PROVIDE (edata = .); \ PROVIDE (___rom_data_end = LOADADDR (.data) + SIZEOF(.data));