Changeset bf61d3a in mainline for kernel/arch/amd64/src/debugger.c
- Timestamp:
- 2010-11-26T01:34:21Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 273b958
- Parents:
- 4b9a410 (diff), 7e752b2 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/debugger.c
r4b9a410 rbf61d3a 230 230 return; 231 231 232 printf("*** Found ZERO on address % " PRIp "(slot %d) ***\n",233 breakpoints[slot].address, slot);232 printf("*** Found ZERO on address %p (slot %d) ***\n", 233 (void *) breakpoints[slot].address, slot); 234 234 } else { 235 printf("Data watchpoint - new data: % " PRIp"\n",235 printf("Data watchpoint - new data: %#" PRIxn "\n", 236 236 *((unative_t *) breakpoints[slot].address)); 237 237 } 238 238 } 239 239 240 printf("Reached breakpoint %d:% " PRIp " (%s)\n", slot, getip(istate),241 symtab_fmt_name_lookup(getip(istate)));240 printf("Reached breakpoint %d:%p (%s)\n", slot, 241 (void *) getip(istate), symtab_fmt_name_lookup(getip(istate))); 242 242 243 243 #ifdef CONFIG_KCONSOLE … … 363 363 364 364 #ifdef __32_BITS__ 365 printf("%-4u %7 " PRIs "%p %s\n", i,366 breakpoints[i].counter, breakpoints[i].address,365 printf("%-4u %7zu %p %s\n", i, 366 breakpoints[i].counter, (void *) breakpoints[i].address, 367 367 symbol); 368 368 #endif 369 369 370 370 #ifdef __64_BITS__ 371 printf("%-4u %7 " PRIs "%p %s\n", i,372 breakpoints[i].counter, breakpoints[i].address,371 printf("%-4u %7zu %p %s\n", i, 372 breakpoints[i].counter, (void *) breakpoints[i].address, 373 373 symbol); 374 374 #endif … … 405 405 flags = BKPOINT_WRITE; 406 406 407 printf("Adding breakpoint on address: %p\n", argv->intval); 408 409 int id = breakpoint_add((void *)argv->intval, flags, -1); 407 printf("Adding breakpoint on address: %p\n", 408 (void *) argv->intval); 409 410 int id = breakpoint_add((void *) argv->intval, flags, -1); 410 411 if (id < 0) 411 412 printf("Add breakpoint failed.\n");
Note:
See TracChangeset
for help on using the changeset viewer.