00001 00002 #include <stdio.h> 00003 void put_raw(char *raw) 00004 { 00005 int i; 00006 for (i = 0; i < 256; ++i) 00007 putchar(raw[i]); 00008 putchar('\n'); 00009 } 00010 00011 struct access { 00012 int *data; 00013 int lower; 00014 int upper; 00015 }; 00016 00017 void diagnose_access(struct access *ptr) { 00018 int *data = ptr->data; 00019 unsigned lower = ptr->lower; 00020 unsigned upper = ptr->upper; 00021 00022 printf("Data %lx lower %u upper %u\n", (unsigned long)(data), lower, upper); 00023 } 00024