debug.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Classes

struct  debug_write_fns

Defines

#define DEBUG_TYPE_NULL   ((debug_type) NULL)
#define DEBUG_FIELD_NULL   ((debug_field) NULL)
#define DEBUG_BASECLASS_NULL   ((debug_baseclass) NULL)
#define DEBUG_METHOD_NULL   ((debug_method) NULL)
#define DEBUG_METHOD_VARIANT_NULL   ((debug_method_variant) NULL)

Typedefs

typedef debug_typedebug_type
typedef debug_fielddebug_field
typedef debug_baseclassdebug_baseclass
typedef debug_methoddebug_method
typedef debug_method_variantdebug_method_variant

Enumerations

enum  debug_type_kind {
  DEBUG_KIND_ILLEGAL, DEBUG_KIND_INDIRECT, DEBUG_KIND_VOID, DEBUG_KIND_INT, DEBUG_KIND_FLOAT, DEBUG_KIND_COMPLEX, DEBUG_KIND_BOOL, DEBUG_KIND_STRUCT, DEBUG_KIND_UNION, DEBUG_KIND_CLASS,
  DEBUG_KIND_UNION_CLASS, DEBUG_KIND_ENUM, DEBUG_KIND_POINTER, DEBUG_KIND_FUNCTION, DEBUG_KIND_REFERENCE, DEBUG_KIND_RANGE, DEBUG_KIND_ARRAY, DEBUG_KIND_SET, DEBUG_KIND_OFFSET, DEBUG_KIND_METHOD,
  DEBUG_KIND_CONST, DEBUG_KIND_VOLATILE, DEBUG_KIND_NAMED, DEBUG_KIND_TAGGED
}
enum  debug_var_kind { DEBUG_VAR_ILLEGAL, DEBUG_GLOBAL, DEBUG_STATIC, DEBUG_LOCAL_STATIC, DEBUG_LOCAL, DEBUG_REGISTER }
enum  debug_parm_kind { DEBUG_PARM_ILLEGAL, DEBUG_PARM_STACK, DEBUG_PARM_REG, DEBUG_PARM_REFERENCE, DEBUG_PARM_REF_REG }
enum  debug_visibility { DEBUG_VISIBILITY_PUBLIC, DEBUG_VISIBILITY_PROTECTED, DEBUG_VISIBILITY_PRIVATE, DEBUG_VISIBILITY_IGNORE }

Functions

PTR debug_init PARAMS ((void))
boolean debug_set_filename PARAMS ((PTR, const char *))
boolean debug_record_function PARAMS ((PTR, const char *, debug_type, boolean, bfd_vma))
boolean debug_record_parameter PARAMS ((PTR, const char *, debug_type, enum debug_parm_kind, bfd_vma))
boolean debug_end_function PARAMS ((PTR, bfd_vma))
boolean debug_record_line PARAMS ((PTR, unsigned long, bfd_vma))
boolean debug_record_int_const PARAMS ((PTR, const char *, bfd_vma))
boolean debug_record_float_const PARAMS ((PTR, const char *, double))
boolean debug_record_typed_const PARAMS ((PTR, const char *, debug_type, bfd_vma))
boolean debug_record_variable PARAMS ((PTR, const char *, debug_type, enum debug_var_kind, bfd_vma))
debug_type debug_make_indirect_type PARAMS ((PTR, debug_type *, const char *))
debug_type debug_make_void_type PARAMS ((PTR))
debug_type debug_make_int_type PARAMS ((PTR, unsigned int, boolean))
debug_type debug_make_float_type PARAMS ((PTR, unsigned int))
debug_type debug_make_struct_type PARAMS ((PTR, boolean, bfd_vma, debug_field *))
debug_type debug_make_object_type PARAMS ((PTR, boolean, bfd_vma, debug_field *, debug_baseclass *, debug_method *, debug_type, boolean))
debug_type debug_make_enum_type PARAMS ((PTR, const char **, bfd_signed_vma *))
debug_type debug_make_pointer_type PARAMS ((PTR, debug_type))
debug_type debug_make_function_type PARAMS ((PTR, debug_type, debug_type *, boolean))
debug_type debug_make_range_type PARAMS ((PTR, debug_type, bfd_signed_vma, bfd_signed_vma))
debug_type debug_make_array_type PARAMS ((PTR, debug_type, debug_type, bfd_signed_vma, bfd_signed_vma, boolean))
debug_type debug_make_set_type PARAMS ((PTR, debug_type, boolean))
debug_type debug_make_offset_type PARAMS ((PTR, debug_type, debug_type))
debug_type debug_make_method_type PARAMS ((PTR, debug_type, debug_type, debug_type *, boolean))
debug_type debug_make_undefined_tagged_type PARAMS ((PTR, const char *, enum debug_type_kind))
debug_baseclass debug_make_baseclass PARAMS ((PTR, debug_type, bfd_vma, boolean, enum debug_visibility))
debug_field debug_make_field PARAMS ((PTR, const char *, debug_type, bfd_vma, bfd_vma, enum debug_visibility))
debug_field debug_make_static_member PARAMS ((PTR, const char *, debug_type, const char *, enum debug_visibility))
debug_method debug_make_method PARAMS ((PTR, const char *, debug_method_variant *))
debug_method_variant debug_make_method_variant PARAMS ((PTR, const char *, debug_type, enum debug_visibility, boolean, boolean, bfd_vma, debug_type))
debug_method_variant debug_make_static_method_variant PARAMS ((PTR, const char *, debug_type, enum debug_visibility, boolean, boolean))
debug_type debug_name_type PARAMS ((PTR, const char *, debug_type))
boolean debug_record_type_size PARAMS ((PTR, debug_type, unsigned int))
const debug_type *debug_get_parameter_types PARAMS ((PTR, debug_type, boolean *))
debug_type debug_get_field_type PARAMS ((PTR, debug_field))
boolean debug_write PARAMS ((PTR, const struct debug_write_fns *, PTR))


Define Documentation

#define DEBUG_BASECLASS_NULL   ((debug_baseclass) NULL)
 

#define DEBUG_FIELD_NULL   ((debug_field) NULL)
 

#define DEBUG_METHOD_NULL   ((debug_method) NULL)
 

#define DEBUG_METHOD_VARIANT_NULL   ((debug_method_variant) NULL)
 

#define DEBUG_TYPE_NULL   ((debug_type) NULL)
 


Typedef Documentation

typedef struct debug_baseclass* debug_baseclass
 

typedef struct debug_field* debug_field
 

typedef struct debug_method* debug_method
 

typedef struct debug_method_variant* debug_method_variant
 

typedef struct debug_type* debug_type
 


Enumeration Type Documentation

enum debug_parm_kind
 

Enumeration values:
DEBUG_PARM_ILLEGAL 
DEBUG_PARM_STACK 
DEBUG_PARM_REG 
DEBUG_PARM_REFERENCE 
DEBUG_PARM_REF_REG 
00106 {
00107   /* Not used.  */
00108   DEBUG_PARM_ILLEGAL,
00109   /* A stack based parameter.  */
00110   DEBUG_PARM_STACK,
00111   /* A register parameter.  */
00112   DEBUG_PARM_REG,
00113   /* A stack based reference parameter.  */
00114   DEBUG_PARM_REFERENCE,
00115   /* A register reference parameter.  */
00116   DEBUG_PARM_REF_REG
00117 };

enum debug_type_kind
 

Enumeration values:
DEBUG_KIND_ILLEGAL 
DEBUG_KIND_INDIRECT 
DEBUG_KIND_VOID 
DEBUG_KIND_INT 
DEBUG_KIND_FLOAT 
DEBUG_KIND_COMPLEX 
DEBUG_KIND_BOOL 
DEBUG_KIND_STRUCT 
DEBUG_KIND_UNION 
DEBUG_KIND_CLASS 
DEBUG_KIND_UNION_CLASS 
DEBUG_KIND_ENUM 
DEBUG_KIND_POINTER 
DEBUG_KIND_FUNCTION 
DEBUG_KIND_REFERENCE 
DEBUG_KIND_RANGE 
DEBUG_KIND_ARRAY 
DEBUG_KIND_SET 
DEBUG_KIND_OFFSET 
DEBUG_KIND_METHOD 
DEBUG_KIND_CONST 
DEBUG_KIND_VOLATILE 
DEBUG_KIND_NAMED 
DEBUG_KIND_TAGGED 
00034 {
00035   /* Not used.  */
00036   DEBUG_KIND_ILLEGAL,
00037   /* Indirect via a pointer.  */
00038   DEBUG_KIND_INDIRECT,
00039   /* Void.  */
00040   DEBUG_KIND_VOID,
00041   /* Integer.  */
00042   DEBUG_KIND_INT,
00043   /* Floating point.  */
00044   DEBUG_KIND_FLOAT,
00045   /* Complex.  */
00046   DEBUG_KIND_COMPLEX,
00047   /* Boolean.  */
00048   DEBUG_KIND_BOOL,
00049   /* Struct.  */
00050   DEBUG_KIND_STRUCT,
00051   /* Union.  */
00052   DEBUG_KIND_UNION,
00053   /* Class.  */
00054   DEBUG_KIND_CLASS,
00055   /* Union class (can this really happen?).  */
00056   DEBUG_KIND_UNION_CLASS,
00057   /* Enumeration type.  */
00058   DEBUG_KIND_ENUM,
00059   /* Pointer.  */
00060   DEBUG_KIND_POINTER,
00061   /* Function.  */
00062   DEBUG_KIND_FUNCTION,
00063   /* Reference.  */
00064   DEBUG_KIND_REFERENCE,
00065   /* Range.  */
00066   DEBUG_KIND_RANGE,
00067   /* Array.  */
00068   DEBUG_KIND_ARRAY,
00069   /* Set.  */
00070   DEBUG_KIND_SET,
00071   /* Based pointer.  */
00072   DEBUG_KIND_OFFSET,
00073   /* Method.  */
00074   DEBUG_KIND_METHOD,
00075   /* Const qualified type.  */
00076   DEBUG_KIND_CONST,
00077   /* Volatile qualified type.  */
00078   DEBUG_KIND_VOLATILE,
00079   /* Named type.  */
00080   DEBUG_KIND_NAMED,
00081   /* Tagged type.  */
00082   DEBUG_KIND_TAGGED
00083 };

enum debug_var_kind
 

Enumeration values:
DEBUG_VAR_ILLEGAL 
DEBUG_GLOBAL 
DEBUG_STATIC 
DEBUG_LOCAL_STATIC 
DEBUG_LOCAL 
DEBUG_REGISTER 
00088 {
00089   /* Not used.  */
00090   DEBUG_VAR_ILLEGAL,
00091   /* A global variable.  */
00092   DEBUG_GLOBAL,
00093   /* A static variable.  */
00094   DEBUG_STATIC,
00095   /* A local static variable.  */
00096   DEBUG_LOCAL_STATIC,
00097   /* A local variable.  */
00098   DEBUG_LOCAL,
00099   /* A register variable.  */
00100   DEBUG_REGISTER
00101 };

enum debug_visibility
 

Enumeration values:
DEBUG_VISIBILITY_PUBLIC 
DEBUG_VISIBILITY_PROTECTED 
DEBUG_VISIBILITY_PRIVATE 
DEBUG_VISIBILITY_IGNORE 
00122 {
00123   /* A public field (e.g., a field in a C struct).  */
00124   DEBUG_VISIBILITY_PUBLIC,
00125   /* A protected field.  */
00126   DEBUG_VISIBILITY_PROTECTED,
00127   /* A private field.  */
00128   DEBUG_VISIBILITY_PRIVATE,
00129   /* A field which should be ignored.  */
00130   DEBUG_VISIBILITY_IGNORE
00131 };


Function Documentation

boolean debug_write PARAMS (PTR, const struct debug_write_fns *, PTR)   ) 
 

const char *debug_get_field_physname PARAMS (PTR, debug_field  ) 
 

const debug_type* debug_get_parameter_types PARAMS (PTR, debug_type, boolean *)   ) 
 

boolean debug_record_type_size PARAMS (PTR, debug_type, unsigned int)   ) 
 

debug_type debug_tag_type PARAMS (PTR, const char *, debug_type  ) 
 

debug_method_variant debug_make_static_method_variant PARAMS (PTR, const char *, debug_type, enum debug_visibility, boolean, boolean)   ) 
 

debug_method_variant debug_make_method_variant PARAMS (PTR, const char *, debug_type, enum debug_visibility, boolean, boolean, bfd_vma, debug_type  ) 
 

debug_method debug_make_method PARAMS (PTR, const char *, debug_method_variant *)   ) 
 

debug_field debug_make_static_member PARAMS (PTR, const char *, debug_type, const char *, enum debug_visibility  ) 
 

debug_field debug_make_field PARAMS (PTR, const char *, debug_type, bfd_vma, bfd_vma, enum debug_visibility  ) 
 

debug_baseclass debug_make_baseclass PARAMS (PTR, debug_type, bfd_vma, boolean, enum debug_visibility  ) 
 

debug_type debug_find_tagged_type PARAMS (PTR, const char *, enum debug_type_kind  ) 
 

debug_type debug_make_method_type PARAMS (PTR, debug_type, debug_type, debug_type *, boolean)   ) 
 

debug_type debug_make_offset_type PARAMS (PTR, debug_type, debug_type  ) 
 

debug_type debug_make_set_type PARAMS (PTR, debug_type, boolean)   ) 
 

debug_type debug_make_array_type PARAMS (PTR, debug_type, debug_type, bfd_signed_vma, bfd_signed_vma, boolean)   ) 
 

debug_type debug_make_range_type PARAMS (PTR, debug_type, bfd_signed_vma, bfd_signed_vma)   ) 
 

debug_type debug_make_function_type PARAMS (PTR, debug_type, debug_type *, boolean)   ) 
 

const debug_field *debug_get_fields PARAMS (PTR, debug_type  ) 
 

debug_type debug_make_enum_type PARAMS (PTR, const char **, bfd_signed_vma *)   ) 
 

debug_type debug_make_object_type PARAMS (PTR, boolean, bfd_vma, debug_field *, debug_baseclass *, debug_method *, debug_type, boolean)   ) 
 

debug_type debug_make_struct_type PARAMS (PTR, boolean, bfd_vma, debug_field *)   ) 
 

bfd_boolean pr_bool_type PARAMS (PTR, unsigned int)   ) 
 

debug_type debug_make_int_type PARAMS (PTR, unsigned int, boolean)   ) 
 

bfd_boolean pr_end_function PARAMS (PTR)   ) 
 

debug_type debug_make_indirect_type PARAMS (PTR, debug_type *, const char *)   ) 
 

boolean debug_record_variable PARAMS (PTR, const char *, debug_type, enum debug_var_kind, bfd_vma)   ) 
 

boolean debug_record_label PARAMS (PTR, const char *, debug_type, bfd_vma)   ) 
 

boolean debug_record_float_const PARAMS (PTR, const char *, double)   ) 
 

bfd_boolean pr_typed_constant PARAMS (PTR, const char *, bfd_vma)   ) 
 

boolean debug_record_line PARAMS (PTR, unsigned long, bfd_vma)   ) 
 

bfd_boolean pr_end_block PARAMS (PTR, bfd_vma)   ) 
 

boolean debug_record_parameter PARAMS (PTR, const char *, debug_type, enum debug_parm_kind, bfd_vma)   ) 
 

boolean debug_record_function PARAMS (PTR, const char *, debug_type, boolean, bfd_vma)   ) 
 

bfd_boolean pr_tag PARAMS (PTR, const char *)   ) 
 

PTR debug_init PARAMS (void)   ) 
 


Generated on Thu Feb 24 11:01:11 2005 for MySQL by  doxygen 1.3.9.1