GDB (xrefs)
Macros | Functions | Variables
/tmp/gdb-7.10/gdb/demangle.c File Reference
#include "defs.h"
#include "cli/cli-utils.h"
#include "command.h"
#include "gdbcmd.h"
#include "demangle.h"
#include "gdb-demangle.h"
#include "language.h"

Go to the source code of this file.

Macros

#define DEFAULT_DEMANGLING_STYLE   AUTO_DEMANGLING_STYLE_STRING
 

Functions

static void demangle_command (char *, int)
 
static void show_demangle (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void show_asm_demangle (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void show_demangling_style_names (struct ui_file *file, int from_tty, struct cmd_list_element *c, const char *value)
 
static void set_demangling_command (char *ignore, int from_tty, struct cmd_list_element *c)
 
int is_cplus_marker (int c)
 
void _initialize_demangler (void)
 

Variables

int demangle = 1
 
int asm_demangle = 0
 
static const char * current_demangling_style_string
 
static const char ** demangling_style_names
 
static char cplus_markers [] = {'$', '.', '\0'}
 
initialize_file_ftype _initialize_demangler
 

Macro Definition Documentation

#define DEFAULT_DEMANGLING_STYLE   AUTO_DEMANGLING_STYLE_STRING

Definition at line 43 of file demangle.c.

Referenced by _initialize_demangler().

Function Documentation

void _initialize_demangler ( void  )
static void demangle_command ( char *  args,
int  from_tty 
)
static
int is_cplus_marker ( int  c)
static void set_demangling_command ( char *  ignore,
int  from_tty,
struct cmd_list_element c 
)
static

Definition at line 109 of file demangle.c.

References current_demangling_style_string, demangling_style_names, and gdb_assert.

Referenced by _initialize_demangler().

static void show_asm_demangle ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 65 of file demangle.c.

References _, and fprintf_filtered().

Referenced by _initialize_demangler().

static void show_demangle ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 52 of file demangle.c.

References _, and fprintf_filtered().

Referenced by _initialize_demangler().

static void show_demangling_style_names ( struct ui_file file,
int  from_tty,
struct cmd_list_element c,
const char *  value 
)
static

Definition at line 85 of file demangle.c.

References _, and fprintf_filtered().

Referenced by _initialize_demangler().

Variable Documentation

initialize_file_ftype _initialize_demangler
int asm_demangle = 0

Definition at line 62 of file demangle.c.

Referenced by _initialize_demangler(), build_address_symbolic(), and print_address().

char cplus_markers[] = {'$', '.', '\0'}
static

Definition at line 149 of file demangle.c.

Referenced by is_cplus_marker().

const char* current_demangling_style_string
static

Definition at line 78 of file demangle.c.

Referenced by _initialize_demangler(), and set_demangling_command().

int demangle = 1
const char** demangling_style_names
static

Definition at line 83 of file demangle.c.

Referenced by _initialize_demangler(), and set_demangling_command().