Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2924 → Rev 2923

/branches/tracing/uspace/app/debug/arch/mips32/include/types.h
File deleted
/branches/tracing/uspace/app/debug/arch/mips32/Makefile.inc
File deleted
/branches/tracing/uspace/app/debug/arch/mips32/src/mips32.c
File deleted
/branches/tracing/uspace/app/debug/arch/ia32/src/ia32.c
87,10 → 87,7
if (brk_list[bi].set && brk_list[bi].addr == brk_addr)
break;
}
 
if (bi < MAX_BRKPTS) {
printf("breakpoint %d hit\n", bi);
 
buffer[ISTATE_OFF_EIP] = brk_addr;
buffer[ISTATE_OFF_EFLAGS] |= 0x0100; /* trap flag */
printf("setting EIP to 0x%08x\n", buffer[ISTATE_OFF_EIP]);
108,8 → 105,6
unsigned char brkinstr[1];
int rc;
 
printf("trap event\n");
 
breakpoint_t *lb = lifted_brkpt;
brkinstr[0] = OPCODE_INT3;
rc = udebug_mem_write(app_phone, brkinstr, lb->addr, 1);