/branches/tracing/uspace/app/debug/include/arch |
---|
0,0 → 1,0 |
link ../arch/ia32/include |
Property changes: |
Added: svn:special |
+* |
\ No newline at end of property |
/branches/tracing/uspace/app/debug/main.c |
---|
243,9 → 243,11 |
abort_debug = true; |
break; |
case UDEBUG_EVENT_BREAKPOINT: |
printf("breakpoint reached\n"); |
arch_event_breakpoint(thash); |
break; |
case UDEBUG_EVENT_TRAP: |
printf("trap event\n"); |
arch_event_trap(thash); |
break; |
default: |
310,7 → 312,7 |
while ((i = getchar()) != 'c') |
putchar(i); |
taskid = 13; |
taskid = 14; |
rc = task_connect(taskid); |
if (rc < 0) { |
printf("Failed to connect to task %d\n", taskid); |
/branches/tracing/uspace/app/debug/Makefile |
---|
59,7 → 59,7 |
-include Makefile.depend |
clean: |
-rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend include/arch |
-rm -f $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm Makefile.depend |
depend: |
$(CC) $(DEFS) $(CFLAGS) -M $(ARCH_SOURCES) $(GENERIC_SOURCES) > Makefile.depend |
/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); |