Changeset 1e006d52 in rtems
- Timestamp:
- 10/21/04 13:48:49 (19 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- a831baa
- Parents:
- 4bd22812
- Location:
- c/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/ChangeLog
r4bd22812 r1e006d52 1 2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * librdbg/src/i386/rdbg_f.c, librdbg/src/m68k/rdbg_cpu_asm.S 4 librdbg/src/m68k/rdbg_f.c: Use POSIX fixed size types. 5 1 6 2004-10-21 Ralf Corsepius <ralf_corsepius@rtems.org> 2 7 -
c/src/librdbg/src/i386/rdbg_f.c
r4bd22812 r1e006d52 64 64 ctx->edi = thread->Registers.edi; 65 65 ctx->esi = thread->Registers.esi; 66 ctx->ebp = (u nsigned32) (thread->Registers.ebp);67 ctx->esp0 = (u nsigned32) (thread->Registers.esp);66 ctx->ebp = (uint32_t) (thread->Registers.ebp); 67 ctx->esp0 = (uint32_t) (thread->Registers.esp); 68 68 ctx->ebx = thread->Registers.ebx; 69 69 ctx->edx = 0; -
c/src/librdbg/src/m68k/rdbg_cpu_asm.S
r4bd22812 r1e006d52 63 63 * The two types of exception frames on m68000 are 64 64 * 65 * u nsigned16sr <- sp66 * u nsigned32pc67 * 68 * u nsigned16fc <- sp69 * u nsigned32addr70 * u nsigned16instr71 * u nsigned16sr72 * u nsigned32pc65 * uint16_t sr <- sp 66 * uint32_t pc 67 * 68 * uint16_t fc <- sp 69 * uint32_t addr 70 * uint16_t instr 71 * uint16_t sr 72 * uint32_t pc 73 73 * 74 74 * after real frame we push d0-d1/a0-a1 -
c/src/librdbg/src/m68k/rdbg_f.c
r4bd22812 r1e006d52 88 88 ctx->vecnum = 0xdeadbeef; 89 89 ctx->sr = thread->Registers.sr; 90 ctx->pc = *(u nsigned32*) thread->Registers.a7_msp;90 ctx->pc = *(uint32_t *) thread->Registers.a7_msp; 91 91 ctx->d0 = 0xdeadbeef; 92 92 ctx->d1 = 0xdeadbeef; … … 94 94 ctx->a1 = 0xdeadbeef; 95 95 96 ctx->a2 = (u nsigned32) thread->Registers.a2;97 ctx->a3 = (u nsigned32) thread->Registers.a3;98 ctx->a4 = (u nsigned32) thread->Registers.a4;99 ctx->a5 = (u nsigned32) thread->Registers.a5;100 ctx->a6 = (u nsigned32) thread->Registers.a6;101 ctx->a7 = (u nsigned32) thread->Registers.a7_msp;96 ctx->a2 = (uint32_t) thread->Registers.a2; 97 ctx->a3 = (uint32_t) thread->Registers.a3; 98 ctx->a4 = (uint32_t) thread->Registers.a4; 99 ctx->a5 = (uint32_t) thread->Registers.a5; 100 ctx->a6 = (uint32_t) thread->Registers.a6; 101 ctx->a7 = (uint32_t) thread->Registers.a7_msp; 102 102 ctx->d2 = thread->Registers.d2; 103 103 ctx->d3 = thread->Registers.d3;
Note: See TracChangeset
for help on using the changeset viewer.