Changeset 21337 in vbox for trunk/src/VBox/Runtime/common/dbg
- Timestamp:
- Jul 7, 2009 2:58:27 PM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 49685
- Location:
- trunk/src/VBox/Runtime/common/dbg
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbg.cpp
r20800 r21337 33 33 *******************************************************************************/ 34 34 #include <iprt/dbg.h> 35 #include "internal/iprt.h" 36 35 37 #include <iprt/mem.h> 36 38 … … 46 48 return (PRTDBGSYMBOL)RTMemAllocZ(sizeof(RTDBGSYMBOL)); 47 49 } 50 RT_EXPORT_SYMBOL(RTDbgSymbolAlloc); 48 51 49 52 … … 59 62 return (PRTDBGSYMBOL)RTMemDup(pSymInfo, sizeof(*pSymInfo)); 60 63 } 64 RT_EXPORT_SYMBOL(RTDbgSymbolDup); 61 65 62 66 … … 70 74 RTMemFree(pSymInfo); 71 75 } 76 RT_EXPORT_SYMBOL(RTDbgSymbolFree); 72 77 73 78 … … 81 86 return (PRTDBGLINE)RTMemAllocZ(sizeof(RTDBGLINE)); 82 87 } 88 RT_EXPORT_SYMBOL(RTDbgLineAlloc); 83 89 84 90 … … 94 100 return (PRTDBGLINE)RTMemDup(pLine, sizeof(*pLine)); 95 101 } 102 RT_EXPORT_SYMBOL(RTDbgLineDup); 96 103 97 104 … … 105 112 RTMemFree(pLine); 106 113 } 114 RT_EXPORT_SYMBOL(RTDbgLineFree); 107 115 108 116 -
trunk/src/VBox/Runtime/common/dbg/dbgas.cpp
r21110 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/dbg.h> 36 #include "internal/iprt.h" 37 35 38 #include <iprt/asm.h> 36 39 #include <iprt/avl.h> … … 224 227 return rc; 225 228 } 229 RT_EXPORT_SYMBOL(RTDbgAsCreate); 226 230 227 231 … … 251 255 return rc; 252 256 } 257 RT_EXPORT_SYMBOL(RTDbgAsCreateV); 253 258 254 259 … … 272 277 return rc; 273 278 } 279 RT_EXPORT_SYMBOL(RTDbgAsCreateF); 274 280 275 281 … … 351 357 return ASMAtomicIncU32(&pDbgAs->cRefs); 352 358 } 359 RT_EXPORT_SYMBOL(RTDbgAsRetain); 353 360 354 361 … … 380 387 return cRefs; 381 388 } 389 RT_EXPORT_SYMBOL(RTDbgAsRelease); 382 390 383 391 … … 398 406 return pDbgAs->szName; 399 407 } 408 RT_EXPORT_SYMBOL(RTDbgAsName); 400 409 401 410 … … 416 425 return pDbgAs->FirstAddr; 417 426 } 427 RT_EXPORT_SYMBOL(RTDbgAsFirstAddr); 418 428 419 429 … … 434 444 return pDbgAs->LastAddr; 435 445 } 446 RT_EXPORT_SYMBOL(RTDbgAsLastAddr); 436 447 437 448 /** … … 453 464 return pDbgAs->cModules; 454 465 } 466 RT_EXPORT_SYMBOL(RTDbgAsModuleCount); 455 467 456 468 … … 635 647 return rc; 636 648 } 649 RT_EXPORT_SYMBOL(RTDbgAsModuleLink); 637 650 638 651 … … 683 696 return rc; 684 697 } 698 RT_EXPORT_SYMBOL(RTDbgAsModuleLinkSeg); 685 699 686 700 … … 839 853 return VINF_SUCCESS; 840 854 } 855 RT_EXPORT_SYMBOL(RTDbgAsModuleUnlink); 841 856 842 857 … … 874 889 return VINF_SUCCESS; 875 890 } 891 RT_EXPORT_SYMBOL(RTDbgAsModuleUnlinkByAddr); 876 892 877 893 … … 914 930 return hMod; 915 931 } 932 RT_EXPORT_SYMBOL(RTDbgAsModuleByIndex); 916 933 917 934 … … 965 982 return VINF_SUCCESS; 966 983 } 984 RT_EXPORT_SYMBOL(RTDbgAsModuleByAddr); 967 985 968 986 … … 1019 1037 return VINF_SUCCESS; 1020 1038 } 1039 RT_EXPORT_SYMBOL(RTDbgAsModuleByName); 1021 1040 1022 1041 … … 1169 1188 return rc; 1170 1189 } 1190 RT_EXPORT_SYMBOL(RTDbgAsSymbolAdd); 1171 1191 1172 1192 … … 1216 1236 return rc; 1217 1237 } 1238 RT_EXPORT_SYMBOL(RTDbgAsSymbolByAddr); 1218 1239 1219 1240 … … 1264 1285 return rc; 1265 1286 } 1287 RT_EXPORT_SYMBOL(RTDbgAsSymbolByAddrA); 1266 1288 1267 1289 … … 1437 1459 return VERR_SYMBOL_NOT_FOUND; 1438 1460 } 1461 RT_EXPORT_SYMBOL(RTDbgAsSymbolByName); 1439 1462 1440 1463 … … 1511 1534 return VERR_SYMBOL_NOT_FOUND; 1512 1535 } 1536 RT_EXPORT_SYMBOL(RTDbgAsSymbolByNameA); 1513 1537 1514 1538 … … 1551 1575 return rc; 1552 1576 } 1577 RT_EXPORT_SYMBOL(RTDbgAsLineAdd); 1553 1578 1554 1579 … … 1590 1615 return rc; 1591 1616 } 1617 RT_EXPORT_SYMBOL(RTDbgAsLineByAddr); 1592 1618 1593 1619 … … 1630 1656 return rc; 1631 1657 } 1632 1658 RT_EXPORT_SYMBOL(RTDbgAsLineByAddrA); 1659 -
trunk/src/VBox/Runtime/common/dbg/dbgmod.cpp
r21046 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/dbg.h> 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/asm.h> … … 305 307 return rc; 306 308 } 309 RT_EXPORT_SYMBOL(RTDbgModCreate); 307 310 308 311 … … 311 314 return VERR_NOT_IMPLEMENTED; 312 315 } 316 RT_EXPORT_SYMBOL(RTDbgModCreateDeferred); 313 317 314 318 … … 317 321 return VERR_NOT_IMPLEMENTED; 318 322 } 323 RT_EXPORT_SYMBOL(RTDbgModCreateFromImage); 319 324 320 325 … … 393 398 return rc; 394 399 } 400 RT_EXPORT_SYMBOL(RTDbgModCreateFromMap); 395 401 396 402 … … 449 455 return ASMAtomicIncU32(&pDbgMod->cRefs); 450 456 } 457 RT_EXPORT_SYMBOL(RTDbgModRetain); 451 458 452 459 … … 475 482 return cRefs; 476 483 } 484 RT_EXPORT_SYMBOL(RTDbgModRelease); 477 485 478 486 … … 490 498 return pDbgMod->pszName; 491 499 } 500 RT_EXPORT_SYMBOL(RTDbgModName); 492 501 493 502 … … 514 523 return iSeg; 515 524 } 525 RT_EXPORT_SYMBOL(RTDbgModRvaToSegOff); 516 526 517 527 … … 538 548 return cbImage; 539 549 } 550 RT_EXPORT_SYMBOL(RTDbgModImageSize); 540 551 541 552 … … 596 607 597 608 } 609 RT_EXPORT_SYMBOL(RTDbgModSegmentAdd); 598 610 599 611 … … 620 632 return cSegs; 621 633 } 634 RT_EXPORT_SYMBOL(RTDbgModSegmentCount); 622 635 623 636 … … 651 664 return rc; 652 665 } 666 RT_EXPORT_SYMBOL(RTDbgModSegmentByIndex); 653 667 654 668 … … 675 689 return RT_SUCCESS(rc) ? SegInfo.cb : RTUINTPTR_MAX; 676 690 } 691 RT_EXPORT_SYMBOL(RTDbgModSegmentSize); 677 692 678 693 … … 696 711 return RT_SUCCESS(rc) ? SegInfo.uRva : RTUINTPTR_MAX; 697 712 } 713 RT_EXPORT_SYMBOL(RTDbgModSegmentRva); 698 714 699 715 … … 769 785 return rc; 770 786 } 787 RT_EXPORT_SYMBOL(RTDbgModSymbolAdd); 771 788 772 789 … … 794 811 return cSymbols; 795 812 } 813 RT_EXPORT_SYMBOL(RTDbgModSymbolCount); 796 814 797 815 … … 821 839 return rc; 822 840 } 841 RT_EXPORT_SYMBOL(RTDbgModSymbolByOrdinal); 823 842 824 843 … … 856 875 return rc; 857 876 } 877 RT_EXPORT_SYMBOL(RTDbgModSymbolByOrdinalA); 858 878 859 879 … … 916 936 return rc; 917 937 } 938 RT_EXPORT_SYMBOL(RTDbgModSymbolByAddr); 918 939 919 940 … … 962 983 return rc; 963 984 } 985 RT_EXPORT_SYMBOL(RTDbgModSymbolByAddrA); 964 986 965 987 … … 999 1021 return rc; 1000 1022 } 1023 RT_EXPORT_SYMBOL(RTDbgModSymbolByName); 1001 1024 1002 1025 … … 1034 1057 return rc; 1035 1058 } 1059 RT_EXPORT_SYMBOL(RTDbgModSymbolByNameA); 1036 1060 1037 1061 … … 1102 1126 return rc; 1103 1127 } 1128 RT_EXPORT_SYMBOL(RTDbgModLineAdd); 1104 1129 1105 1130 … … 1127 1152 return cLineNumbers; 1128 1153 } 1154 RT_EXPORT_SYMBOL(RTDbgModLineCount); 1129 1155 1130 1156 … … 1157 1183 return rc; 1158 1184 } 1185 RT_EXPORT_SYMBOL(RTDbgModLineByOrdinal); 1159 1186 1160 1187 … … 1195 1222 return rc; 1196 1223 } 1224 RT_EXPORT_SYMBOL(RTDbgModLineByOrdinalA); 1197 1225 1198 1226 … … 1253 1281 return rc; 1254 1282 } 1283 RT_EXPORT_SYMBOL(RTDbgModLineByAddr); 1255 1284 1256 1285 … … 1300 1329 return rc; 1301 1330 } 1302 1331 RT_EXPORT_SYMBOL(RTDbgModLineByAddrA); 1332 -
trunk/src/VBox/Runtime/common/dbg/dbgmodcontainer.cpp
r21110 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/dbg.h> 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/avl.h> -
trunk/src/VBox/Runtime/common/dbg/dbgmodnm.cpp
r21290 r21337 29 29 */ 30 30 31 31 32 /******************************************************************************* 32 33 * Header Files * 33 34 *******************************************************************************/ 34 35 #include <iprt/dbg.h> 36 #include "internal/iprt.h" 35 37 36 38 #include <iprt/err.h>
Note:
See TracChangeset
for help on using the changeset viewer.