Changes between Version 7 and Version 8 of Old/Documentation/OTG/DebugNote
- Timestamp:
- Feb 17, 2006, 10:36:46 PM (19 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Old/Documentation/OTG/DebugNote
v7 v8 215 215 a structure containing 216 216 217 218 219 217 * the function address for non-virtual functions 218 * the vtable index for virtual functions 219 * the this pointer offset 220 220 221 221 The representation of the structure is implementation specific, … … 224 224 225 225 All this is needed to calculate 226 *the actual entry point address227 *and the effective this pointer226 * the actual entry point address 227 * and the effective this pointer 228 228 when the ptr-to-member-function is finally used in a call. 229 229 In cases like multiple inherited base classes with virtual … … 259 259 For example you want to call virtual finction void A::F() 260 260 By C++ rules you mas provide 2 pointers: 261 {{{ 261 262 A* p - pointer to class instance 262 263 void (A::*f)() - pointer to function 263 264 Then you calculate pointer f = &A::F; 265 264 }}} 265 Then you calculate pointer 266 {{{ 267 f = &A::F; 268 }}} 266 269 User function for Pthread 267 270 {{{