www.delorie.com/gnu/docs/gdb/stabs_30.html   search  
 
Buy the book!


STABS

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.1 Builtin Types

Certain types are built in (int, short, void, float, etc.); the debugger recognizes these types and knows how to handle them. Thus, don't be surprised if some of the following ways of specifying builtin types do not specify everything that a debugger would need to know about the type--in some cases they merely specify enough information to distinguish the type from other types.

The traditional way to define builtin types is convoluted, so new ways have been invented to describe them. Sun's acc uses special builtin type descriptors (`b' and `R'), and IBM uses negative type numbers. GDB accepts all three ways, as of version 4.8; dbx just accepts the traditional builtin types and perhaps one of the other two formats. The following sections describe each of these formats.

5.1.1 Traditional Builtin Types  Put on your seat belts and prepare for kludgery
5.1.2 Defining Builtin Types Using Builtin Type Descriptors  Builtin types with special type descriptors
5.1.3 Negative Type Numbers  Builtin types using negative type numbers


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003