Rev 2924 | Rev 2936 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2924 | Rev 2935 | ||
---|---|---|---|
Line 96... | Line 96... | ||
96 | if (brk_list[bi].set && brk_list[bi].addr == brk_addr) |
96 | if (brk_list[bi].set && brk_list[bi].addr == brk_addr) |
97 | break; |
97 | break; |
98 | } |
98 | } |
99 | if (bi < MAX_BRKPTS) { |
99 | if (bi < MAX_BRKPTS) { |
100 | printf("breakpoint %d hit\n", bi); |
100 | printf("breakpoint %d hit\n", bi); |
- | 101 | breakpoint_hit(); |
|
- | 102 | ||
101 | rc = udebug_mem_write(app_phone, &brk_list[bi].arch.back, brk_addr, 4); |
103 | rc = udebug_mem_write(app_phone, &brk_list[bi].arch.back, brk_addr, 4); |
102 | printf("udebug_mem_write(phone, 0x%x, 0x%02x, 1) -> %d\n", brk_addr, brk_list[bi].arch.back, rc); |
104 | printf("udebug_mem_write(phone, 0x%x, 0x%02x, 1) -> %d\n", brk_addr, brk_list[bi].arch.back, rc); |
103 | rc = udebug_mem_read(app_phone, &brk_list[bi].arch.back, brk_addr+4, 4); |
105 | rc = udebug_mem_read(app_phone, &brk_list[bi].arch.back, brk_addr+4, 4); |
104 | rc = udebug_mem_write(app_phone, &brkp, brk_addr+4, 4); |
106 | rc = udebug_mem_write(app_phone, &brkp, brk_addr+4, 4); |
105 | lifted_brkpt = &brk_list[bi]; |
107 | lifted_brkpt = &brk_list[bi]; |