Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / July 2003



Tip: Looking for answers? Try searching our database.

Interpreting CW Link Maps

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Gary Rice - 02 Jul 2003 22:08 GMT
I'm debugging a C++ app that seems to have an object leaking outside
the space reserved for it by the compiler. I suspect that the Link Map
may be helpful in determining what objects are in memory on either
side of the damaged object but the documentation on exactly what the
map contains is limited at least in the 2 manuals I examined:
1) CW IDE User Guide
2) Targeting Mac OS

Where should I look for this information? I'm using CW/Pro 6 on Mac OS
9.2.2.

Thanks.

Gary
MW Ron - 07 Jul 2003 22:13 GMT
>I'm debugging a C++ app that seems to have an object leaking outside
>the space reserved for it by the compiler. I suspect that the Link Map
[quoted text clipped - 6 lines]
>Where should I look for this information? I'm using CW/Pro 6 on Mac OS
>9.2.2.

I don't think CW 6 has much information on it.

Does this help?

Ron

PR    Program Code
RO    Read Only Constant
DB    Debug Dictionary Table (NOT USED)
TC    General TOC Entry
UA    Unclassified (NOT USED)
RW    Read Write Data
GL    Global Linkage (Linker Generated)
XO    Extended Operation (NOT USED)
SV    Supervisor Call (NOT USED)
BS    BSS class (NOT USED)
DS    Routine Descriptor
UC    Unnamed Fortran Common (NOT USED)
TI    exception table index
TB    exception table
TC0   TOC Anchor for TOC Addressability
TD    Scalar TOC Data

XCOFF_PR    XCOFF Program Code
TT    out-of-line traceback table


CST4     mergeable 4 byte constant
CST8     mergeable 8 byte constant
CSTR     mergeable C String constant
CSTP     mergeable literal pointer constant

Signature

          Metrowerks has moved, our new address is now
                    7700 West Parmer Lane
                      Austin, TX 78729
       Sales and Support 512-996-5300   800-377-5416    
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.