GDB (API)
Defines | Functions
/home/stan/gdb/src/gdb/printcmd.c File Reference
#include "defs.h"
#include "gdb_string.h"
#include "frame.h"
#include "symtab.h"
#include "gdbtypes.h"
#include "value.h"
#include "language.h"
#include "expression.h"
#include "gdbcore.h"
#include "gdbcmd.h"
#include "target.h"
#include "breakpoint.h"
#include "demangle.h"
#include "gdb-demangle.h"
#include "valprint.h"
#include "annotate.h"
#include "symfile.h"
#include "objfiles.h"
#include "completer.h"
#include "ui-out.h"
#include "gdb_assert.h"
#include "block.h"
#include "disasm.h"
#include "dfp.h"
#include "exceptions.h"
#include "observer.h"
#include "solist.h"
#include "parser-defs.h"
#include "charset.h"
#include "arch-utils.h"
#include "cli/cli-utils.h"
#include "format.h"
#include "source.h"

Go to the source code of this file.

Defines

#define ALL_DISPLAYS(B)   for (B = display_chain; B; B = B->next)
#define ALL_DISPLAYS_SAFE(B, TMP)

Functions

void _initialize_printcmd (void)
void print_scalar_formatted (const void *valaddr, struct type *type, const struct value_print_options *options, int size, struct ui_file *stream)
void set_next_address (struct gdbarch *gdbarch, CORE_ADDR addr)
int print_address_symbolic (struct gdbarch *gdbarch, CORE_ADDR addr, struct ui_file *stream, int do_demangle, char *leadin)
int build_address_symbolic (struct gdbarch *gdbarch, CORE_ADDR addr, int do_demangle, char **name, int *offset, char **filename, int *line, int *unmapped)
void print_address (struct gdbarch *gdbarch, CORE_ADDR addr, struct ui_file *stream)
const char * pc_prefix (CORE_ADDR addr)
int print_address_demangle (const struct value_print_options *opts, struct gdbarch *gdbarch, CORE_ADDR addr, struct ui_file *stream, int do_demangle)
void output_command_const (const char *exp, int from_tty)
void clear_displays (void)
void do_displays (void)
void disable_display (int num)
void disable_current_display (void)
void print_variable_and_value (const char *name, struct symbol *var, struct frame_info *frame, struct ui_file *stream, int indent)

Define Documentation

#define ALL_DISPLAYS (   B)    for (B = display_chain; B; B = B->next)

Definition at line 166 of file printcmd.c.

#define ALL_DISPLAYS_SAFE (   B,
  TMP 
)
Value:
for (B = display_chain;                 \
       B ? (TMP = B->next, 1): 0;               \
       B = TMP)

Definition at line 169 of file printcmd.c.


Function Documentation

void _initialize_printcmd ( void  )
int build_address_symbolic ( struct gdbarch *  gdbarch,
CORE_ADDR  addr,
int  do_demangle,
char **  name,
int offset,
char **  filename,
int line,
int unmapped 
)

Definition at line 626 of file printcmd.c.

void clear_displays ( void  )

Definition at line 1578 of file printcmd.c.

void disable_current_display ( void  )

Definition at line 1851 of file printcmd.c.

void disable_display ( int  num)

Definition at line 1837 of file printcmd.c.

void do_displays ( void  )

Definition at line 1825 of file printcmd.c.

void output_command_const ( const char *  exp,
int  from_tty 
)

Definition at line 1039 of file printcmd.c.

const char* pc_prefix ( CORE_ADDR  addr)

Definition at line 767 of file printcmd.c.

void print_address ( struct gdbarch *  gdbarch,
CORE_ADDR  addr,
struct ui_file *  stream 
)

Definition at line 756 of file printcmd.c.

int print_address_demangle ( const struct value_print_options opts,
struct gdbarch *  gdbarch,
CORE_ADDR  addr,
struct ui_file *  stream,
int  do_demangle 
)

Definition at line 786 of file printcmd.c.

int print_address_symbolic ( struct gdbarch *  gdbarch,
CORE_ADDR  addr,
struct ui_file *  stream,
int  do_demangle,
char *  leadin 
)

Definition at line 571 of file printcmd.c.

void print_scalar_formatted ( const void *  valaddr,
struct type type,
const struct value_print_options options,
int  size,
struct ui_file *  stream 
)

Definition at line 364 of file printcmd.c.

void print_variable_and_value ( const char *  name,
struct symbol var,
struct frame_info *  frame,
struct ui_file *  stream,
int  indent 
)

Definition at line 1980 of file printcmd.c.

void set_next_address ( struct gdbarch *  gdbarch,
CORE_ADDR  addr 
)

Definition at line 549 of file printcmd.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines