GDB (xrefs)
Functions
/home/stan/gdb/src/gdb/m2-typeprint.c File Reference
#include "defs.h"
#include "gdb_obstack.h"
#include "bfd.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "gdbcore.h"
#include "m2-lang.h"
#include "target.h"
#include "language.h"
#include "demangle.h"
#include "c-lang.h"
#include "typeprint.h"
#include "cp-abi.h"
#include "gdb_string.h"
#include <errno.h>

Go to the source code of this file.

Functions

static void m2_print_bounds (struct type *type, struct ui_file *stream, int show, int level, int print_high)
static void m2_typedef (struct type *, struct ui_file *, int, int, const struct type_print_options *)
static void m2_array (struct type *, struct ui_file *, int, int, const struct type_print_options *)
static void m2_pointer (struct type *, struct ui_file *, int, int, const struct type_print_options *)
static void m2_ref (struct type *, struct ui_file *, int, int, const struct type_print_options *)
static void m2_procedure (struct type *, struct ui_file *, int, int, const struct type_print_options *)
static void m2_union (struct type *, struct ui_file *)
static void m2_enum (struct type *, struct ui_file *, int, int)
static void m2_range (struct type *, struct ui_file *, int, int, const struct type_print_options *)
static void m2_type_name (struct type *type, struct ui_file *stream)
static void m2_short_set (struct type *type, struct ui_file *stream, int show, int level)
static int m2_long_set (struct type *type, struct ui_file *stream, int show, int level, const struct type_print_options *flags)
static int m2_unbounded_array (struct type *type, struct ui_file *stream, int show, int level, const struct type_print_options *flags)
static void m2_record_fields (struct type *type, struct ui_file *stream, int show, int level, const struct type_print_options *flags)
static void m2_unknown (const char *s, struct type *type, struct ui_file *stream, int show, int level)
int m2_is_long_set (struct type *type)
int m2_is_long_set_of_type (struct type *type, struct type **of_type)
int m2_is_unbounded_array (struct type *type)
void m2_print_type (struct type *type, const char *varstring, struct ui_file *stream, int show, int level, const struct type_print_options *flags)
void m2_print_typedef (struct type *type, struct symbol *new_symbol, struct ui_file *stream)
static int m2_get_discrete_bounds (struct type *type, LONGEST *lowp, LONGEST *highp)

Function Documentation

static void m2_array ( struct type type,
struct ui_file stream,
int  show,
int  level,
const struct type_print_options flags 
) [static]
void m2_enum ( struct type type,
struct ui_file stream,
int  show,
int  level 
) [static]
static int m2_get_discrete_bounds ( struct type type,
LONGEST lowp,
LONGEST highp 
) [static]
int m2_is_long_set ( struct type type)
int m2_is_long_set_of_type ( struct type type,
struct type **  of_type 
)
int m2_is_unbounded_array ( struct type type)
static int m2_long_set ( struct type type,
struct ui_file stream,
int  show,
int  level,
const struct type_print_options flags 
) [static]
static void m2_pointer ( struct type type,
struct ui_file stream,
int  show,
int  level,
const struct type_print_options flags 
) [static]

Definition at line 245 of file m2-typeprint.c.

References fprintf_filtered(), m2_print_type(), TYPE_CONST, and TYPE_TARGET_TYPE.

Referenced by m2_print_type().

static void m2_print_bounds ( struct type type,
struct ui_file stream,
int  show,
int  level,
int  print_high 
) [static]
void m2_print_type ( struct type type,
const char *  varstring,
struct ui_file stream,
int  show,
int  level,
const struct type_print_options flags 
)
void m2_print_typedef ( struct type type,
struct symbol new_symbol,
struct ui_file stream 
)
static void m2_procedure ( struct type type,
struct ui_file stream,
int  show,
int  level,
const struct type_print_options flags 
) [static]
void m2_range ( struct type type,
struct ui_file stream,
int  show,
int  level,
const struct type_print_options flags 
) [static]
void m2_record_fields ( struct type type,
struct ui_file stream,
int  show,
int  level,
const struct type_print_options flags 
) [static]
static void m2_ref ( struct type type,
struct ui_file stream,
int  show,
int  level,
const struct type_print_options flags 
) [static]

Definition at line 257 of file m2-typeprint.c.

References fprintf_filtered(), m2_print_type(), and TYPE_TARGET_TYPE.

Referenced by m2_print_type().

static void m2_short_set ( struct type type,
struct ui_file stream,
int  show,
int  level 
) [static]

Definition at line 321 of file m2-typeprint.c.

References fprintf_filtered(), m2_print_bounds(), and TYPE_INDEX_TYPE.

Referenced by m2_print_type().

void m2_type_name ( struct type type,
struct ui_file stream 
) [static]

Definition at line 181 of file m2-typeprint.c.

References fputs_filtered(), and TYPE_NAME.

Referenced by m2_print_type(), and m2_procedure().

static void m2_typedef ( struct type type,
struct ui_file stream,
int  show,
int  level,
const struct type_print_options flags 
) [static]

Definition at line 209 of file m2-typeprint.c.

References fputs_filtered(), m2_print_type(), TYPE_NAME, and TYPE_TARGET_TYPE.

Referenced by m2_print_type().

static int m2_unbounded_array ( struct type type,
struct ui_file stream,
int  show,
int  level,
const struct type_print_options flags 
) [static]
static void m2_union ( struct type type,
struct ui_file stream 
) [static]

Definition at line 271 of file m2-typeprint.c.

References fprintf_filtered().

Referenced by m2_print_type().

static void m2_unknown ( const char *  s,
struct type type,
struct ui_file stream,
int  show,
int  level 
) [static]

Definition at line 265 of file m2-typeprint.c.

References _, and fprintf_filtered().

Referenced by m2_print_type().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines