Changeset 6da1013f in mainline for kernel/arch/amd64/src/debugger.c
- Timestamp:
- 2009-02-12T20:09:19Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84266669
- Parents:
- 7004747
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/debugger.c
r7004747 r6da1013f 205 205 /* Send IPI */ 206 206 #ifdef CONFIG_SMP 207 // ipi_broadcast(VECTOR_DEBUG_IPI); 207 // ipi_broadcast(VECTOR_DEBUG_IPI); 208 208 #endif 209 209 … … 211 211 } 212 212 213 #ifdef amd64214 # define getip(x)((x)->rip)213 #ifdef __64_BITS__ 214 #define getip(x) ((x)->rip) 215 215 #else 216 # define getip(x)((x)->eip)216 #define getip(x) ((x)->eip) 217 217 #endif 218 218 … … 277 277 278 278 /* Set RF to restart the instruction */ 279 #ifdef amd64279 #ifdef __64_BITS__ 280 280 istate->rflags |= RFLAGS_RF; 281 281 #else … … 349 349 char *symbol; 350 350 351 #ifdef __32_BITS__ 351 #ifdef __32_BITS__ 352 352 printf("# Count Address In symbol\n"); 353 353 printf("-- ----- ---------- ---------\n");
Note:
See TracChangeset
for help on using the changeset viewer.