GDB (API)
Typedefs | Functions | Variables
/home/stan/gdb/src/gdb/main.c File Reference
#include "defs.h"
#include "top.h"
#include "target.h"
#include "inferior.h"
#include "symfile.h"
#include "gdbcore.h"
#include "exceptions.h"
#include "getopt.h"
#include <sys/types.h>
#include "gdb_stat.h"
#include <ctype.h>
#include "gdb_string.h"
#include "event-loop.h"
#include "ui-out.h"
#include "interps.h"
#include "main.h"
#include "source.h"
#include "cli/cli-cmds.h"
#include "python/python.h"
#include "objfiles.h"
#include "auto-load.h"
#include "maint.h"
#include "filenames.h"
#include "filestuff.h"

Go to the source code of this file.

Typedefs

typedef struct cmdarg cmdarg_s

Functions

const char * get_gdb_program_name (void)
char * relocate_gdb_directory (const char *initial, int flag)
 DEF_VEC_O (cmdarg_s)
int gdb_main (struct captured_main_args *args)

Variables

char * interpreter_p
int xdb_commands = 0
int dbx_commands = 0
char * gdb_sysroot = 0
char * gdb_datadir = 0
char * python_libdir = 0
struct ui_file * gdb_stdout
struct ui_file * gdb_stderr
struct ui_file * gdb_stdlog
struct ui_file * gdb_stdin
struct ui_file * gdb_stdtargin
struct ui_file * gdb_stdtarg
struct ui_file * gdb_stdtargerr
int batch_flag = 0
int batch_silent = 0
int return_child_result = 0
int return_child_result_value = -1

Typedef Documentation

typedef struct cmdarg cmdarg_s

Function Documentation

int gdb_main ( struct captured_main_args args)

Definition at line 1073 of file main.c.

const char* get_gdb_program_name ( void  )

Definition at line 103 of file main.c.

char* relocate_gdb_directory ( const char *  initial,
int  flag 
)

Definition at line 131 of file main.c.


Variable Documentation

Definition at line 86 of file main.c.

Definition at line 89 of file main.c.

Definition at line 59 of file main.c.

char* gdb_datadir = 0

Definition at line 65 of file main.c.

struct ui_file* gdb_stderr

ui_file stream for serious error notifications

Definition at line 77 of file main.c.

struct ui_file* gdb_stdin

ui_file stream for input

Definition at line 79 of file main.c.

struct ui_file* gdb_stdlog

Log/debug/trace messages that should bypass normal stdout/stderr filtering. For moment, always call this stream using _unfiltered. In the very near future that restriction shall be removed - either call shall be unfiltered. (cagney 1999-06-13).

Definition at line 78 of file main.c.

struct ui_file* gdb_stdout

ui_file stream for normal results

Definition at line 76 of file main.c.

struct ui_file* gdb_stdtarg

Target output that should bypass normal stdout/stderr filtering. For moment, always call this stream using *_unfiltered. In the very near future that restriction shall be removed - either call shall be unfiltered. (cagney 1999-07-02).

Definition at line 82 of file main.c.

struct ui_file* gdb_stdtargerr

Definition at line 83 of file main.c.

struct ui_file* gdb_stdtargin

Definition at line 81 of file main.c.

char* gdb_sysroot = 0

Definition at line 62 of file main.c.

Definition at line 53 of file main.c.

char* python_libdir = 0

Definition at line 74 of file main.c.

Definition at line 94 of file main.c.

Definition at line 95 of file main.c.

Definition at line 56 of file main.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines