GDB (xrefs)
Macros | Functions | Variables
/tmp/gdb-7.10/gdb/f-valprint.c File Reference
#include "defs.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "expression.h"
#include "value.h"
#include "valprint.h"
#include "language.h"
#include "f-lang.h"
#include "frame.h"
#include "gdbcore.h"
#include "command.h"
#include "block.h"
#include "dictionary.h"

Go to the source code of this file.

Macros

#define F77_DIM_SIZE(n)   (f77_array_offset_tbl[n][1])
 
#define F77_DIM_OFFSET(n)   (f77_array_offset_tbl[n][0])
 

Functions

void _initialize_f_valprint (void)
 
static void info_common_command (char *, int)
 
static void f77_create_arrayprint_offset_tbl (struct type *, struct ui_file *)
 
static void f77_get_dynamic_length_of_aggregate (struct type *)
 
int f77_get_lowerbound (struct type *type)
 
int f77_get_upperbound (struct type *type)
 
static void f77_print_array_1 (int nss, int ndimensions, struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *val, const struct value_print_options *options, int *elts)
 
static void f77_print_array (struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *val, const struct value_print_options *options)
 
void f_val_print (struct type *type, const gdb_byte *valaddr, int embedded_offset, CORE_ADDR address, struct ui_file *stream, int recurse, const struct value *original_value, const struct value_print_options *options)
 
static void info_common_command_for_block (const struct block *block, const char *comname, int *any_printed)
 

Variables

int f77_array_offset_tbl [MAX_FORTRAN_DIMS+1][2]
 
static const struct generic_val_print_decorations f_decorations
 

Macro Definition Documentation

#define F77_DIM_OFFSET (   n)    (f77_array_offset_tbl[n][0])

Definition at line 55 of file f-valprint.c.

Referenced by f77_create_arrayprint_offset_tbl(), and f77_print_array_1().

#define F77_DIM_SIZE (   n)    (f77_array_offset_tbl[n][1])

Definition at line 51 of file f-valprint.c.

Referenced by f77_create_arrayprint_offset_tbl(), and f77_print_array_1().

Function Documentation

void _initialize_f_valprint ( void  )

Definition at line 515 of file f-valprint.c.

References _, add_info(), and info_common_command().

static void f77_create_arrayprint_offset_tbl ( struct type type,
struct ui_file stream 
)
static
static void f77_get_dynamic_length_of_aggregate ( struct type type)
static
int f77_get_lowerbound ( struct type type)
int f77_get_upperbound ( struct type type)
static void f77_print_array ( struct type type,
const gdb_byte valaddr,
int  embedded_offset,
CORE_ADDR  address,
struct ui_file stream,
int  recurse,
const struct value val,
const struct value_print_options options 
)
static
static void f77_print_array_1 ( int  nss,
int  ndimensions,
struct type type,
const gdb_byte valaddr,
int  embedded_offset,
CORE_ADDR  address,
struct ui_file stream,
int  recurse,
const struct value val,
const struct value_print_options options,
int elts 
)
static
void f_val_print ( struct type type,
const gdb_byte valaddr,
int  embedded_offset,
CORE_ADDR  address,
struct ui_file stream,
int  recurse,
const struct value original_value,
const struct value_print_options options 
)
static void info_common_command ( char *  comname,
int  from_tty 
)
static
static void info_common_command_for_block ( const struct block block,
const char *  comname,
int any_printed 
)
static

Variable Documentation

int f77_array_offset_tbl[MAX_FORTRAN_DIMS+1][2]

Definition at line 43 of file f-valprint.c.

const struct generic_val_print_decorations f_decorations
static
Initial value:
=
{
"(",
",",
")",
".TRUE.",
".FALSE.",
"VOID",
}

Definition at line 241 of file f-valprint.c.