you are here : home/C & C++ Internals

                                    Home    |    About Us    |    Contact Us    |    Links   |    Customers   

 

C/C++ Internals

Overview
This 3 day class is designed to build on existing knowledge of the C/C++ product in the z/TPF environment.  It will provide programmers and support staff with the knowledge to debug programs and identify system errors.  The class includes frequent exercises to reinforce knowledge gained during the lecture sessions.

Audience
TPF staff who require knowledge of the internals and architecture of the C/C++ product in z/TPF.  Students should have a reasonable understanding of z/TPF.  A working knowledge of C/C++ Coding concepts is desirable.

Student Numbers
The maximum recommended student to instructor ratio is 12:1

Objectives
By the end of the course, the delegates will be able, with the aid of course notes to:

·      List the C/C++ register conventions.

·      Identify Stack, Heap and Static storage.

·      Describe compiler options and their impact on generated object code.

·      Understand various linkage mechanisms used in C/C++ programs.

·      Solve dumps in CSOs (program and Library)

Course Outline

Introduction

Review existing knowledge
Example programs
Register conventions
Storage classes

Compiler

Options
Generated code examples
Code Optimization
Inlining of functions.

Stacks

Stack storage overview
Layout and header file
Allocation and deallocation
Usage
Static Storage - overview

Linkages

CSO Linkages
Assembler Stub linkage
Exporting functions & Classes
Function & Variable Descriptors
Static Stack - In depth

Heap Storage

Allocation
Memory layout
In-use, free & system nodes
Control 75 Dump Example

Functions

Passing parameters - C and C++
Linkage

Dump Analysis

Identifying variables & parameters
Identifying Failing Instruction
Module map layout
Control 3 Example
Solving dumps in Programs
Solving dumps in Libraries

back to top

 

pcs-training.co.uk by Cold Blaze Design © 2000. All rights reserved.