Changeset 218
- Timestamp:
- Jan 5, 2004, 6:10:18 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/lisp-kernel/plbt.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/lisp-kernel/plbt.c
r6 r218 150 150 if ((fun == 0) || (fun == fulltag_misc)) { 151 151 spname = "unknown ?"; 152 #ifndef STATIC 152 153 if (dladdr((void *)pc, &info)) { 153 154 spname = (char *)(info.dli_sname); 154 155 } 156 #endif 155 157 Dprintf("(#x%08X) #x%08X : (subprimitive %s)", frame, pc, spname); 156 158 } else { … … 182 184 Dl_info foreign_info; 183 185 186 #ifndef STATIC 184 187 if (dladdr((void *)pc, &foreign_info)) { 185 188 Dprintf("(#x%08x) #x%08X : %s + %d", frame, pc, foreign_info.dli_sname, 186 189 pc-((int)foreign_info.dli_saddr)); 187 190 } else { 191 #endif 188 192 Dprintf("(#x%08X) #x%08X : foreign code (%s)", frame, pc, "unknown"); 189 } 190 193 #ifndef STATIC 194 } 195 #endif 191 196 } 192 197 … … 284 289 void *pc = (void *) (((c_frame *)frame)->savelr); 285 290 #endif 291 #ifndef STATIC 286 292 if (dladdr(pc, &info)) { 287 293 if (delta) { … … 290 296 return info.dli_sname; 291 297 } 298 #endif 292 299 if (delta) { 293 300 *delta = 0;
Note:
See TracChangeset
for help on using the changeset viewer.
