GDB (API)
Classes | Defines | Typedefs | Functions | Variables
/home/stan/gdb/src/gdb/gdbtk/generic/gdbtk.h File Reference

Go to the source code of this file.

Classes

struct  gdbtk_result

Defines

#define GDBTK_PATH_SEP   ":"
#define GDBTK_MAJOR_VERSION   "1"
#define GDBTK_MINOR_VERSION   "0"
#define GDBTK_VERSION   "1.0"
#define GDBTK_TO_RESULT
#define GDBTK_MAKES_LIST
#define GDBTK_IN_TCL_RESULT
#define GDBTK_ERROR_STARTED
#define GDBTK_ERROR_ONLY
#define GDBTK_SYMBOL_SOURCE_NAME(symbol)

Typedefs

typedef struct gdbtk_result gdbtk_result

Functions

void gdbtk_restore_result_ptr (void *)
int Gdbtk_Init (Tcl_Interp *interp)
void gdbtk_stop_timer (void)
void gdbtk_start_timer (void)
void gdbtk_ignorable_warning (const char *, const char *)
void gdbtk_interactive (void)
int x_event (int)
int gdbtk_two_elem_cmd (char *, char *)
int target_is_native (struct target_ops *t)
void gdbtk_fputs (const char *, struct ui_file *)
struct ui_file * gdbtk_fileopen (void)
struct ui_file * gdbtk_fileopenin (void)
ptid_t gdbtk_get_ptid (void)
void TclDebug (char level, const char *fmt,...)
void gdbtk_add_hooks (void)
void gdbtk_init (void)
void gdbtk_source_start_file (void)

Variables

int disassemble_from_exec
int running_now
int No_Update
int load_in_progress
Tcl_Interp * gdbtk_interp
gdbtk_resultresult_ptr
int gdb_context
int gdbtk_force_detach
int gdbtk_disable_fputs

Define Documentation

Value:
16      /* Indicates that all incoming I/O is
                                   to be treated as if it had arrived for gdb_stderr. This is
                                   used to help error_begin in utils.c. */

Definition at line 109 of file gdbtk.h.

Value:
8       /* This one is just used in gdbtk_fputs.  If we 
                                   see some output on stderr, we need to clear
                                   the result we have been accumulating, or the 
                                   error and the previous successful output
                                   will get mixed, which would be confusing. */

Definition at line 108 of file gdbtk.h.

Value:
4       /* Indicates that the result is already in the
                                   Tcl result.  You can use this to preserve
                                   error messages from functions like
                                   Tcl_GetIntFromObj.  You can also store the
                                   output of a call wrapped command directly in 
                                   the Tcl result if you want, but beware, it will
                                   not then be preserved across recursive
                                   gdbtk_call_wrapper invocations. */

Definition at line 107 of file gdbtk.h.

#define GDBTK_MAJOR_VERSION   "1"

Definition at line 48 of file gdbtk.h.

Value:
2       /* whether gdbtk_fputs adds the 
                                   element it is outputting as a string, or
                                   as a separate list element. */

Definition at line 106 of file gdbtk.h.

#define GDBTK_MINOR_VERSION   "0"

Definition at line 49 of file gdbtk.h.

#define GDBTK_PATH_SEP   ":"

Definition at line 31 of file gdbtk.h.

Value:

Definition at line 159 of file gdbtk.h.

#define GDBTK_TO_RESULT
Value:
1       /* This controls whether output from
                                   gdbtk_fputs goes to the command result, or 
                                   to gdbtk_tcl_fputs. */

Definition at line 105 of file gdbtk.h.

#define GDBTK_VERSION   "1.0"

Definition at line 50 of file gdbtk.h.


Typedef Documentation

typedef struct gdbtk_result gdbtk_result

Function Documentation

void gdbtk_add_hooks ( void  )

Definition at line 120 of file gdbtk-hooks.c.

struct ui_file* gdbtk_fileopen ( void  ) [read]

Definition at line 226 of file gdbtk-hooks.c.

struct ui_file* gdbtk_fileopenin ( void  ) [read]

Definition at line 218 of file gdbtk-hooks.c.

void gdbtk_fputs ( const char *  ,
struct ui_file *   
)

Definition at line 295 of file gdbtk-hooks.c.

ptid_t gdbtk_get_ptid ( void  )

Definition at line 842 of file gdbtk-hooks.c.

void gdbtk_ignorable_warning ( const char *  ,
const char *   
)

Definition at line 377 of file gdbtk-hooks.c.

int Gdbtk_Init ( Tcl_Interp *  interp)

Definition at line 248 of file gdbtk-cmds.c.

void gdbtk_init ( void  )

Definition at line 359 of file gdbtk.c.

void gdbtk_interactive ( void  )

Definition at line 250 of file gdbtk.c.

void gdbtk_restore_result_ptr ( void *  )

Definition at line 189 of file gdbtk-hooks.c.

void gdbtk_source_start_file ( void  )

Definition at line 590 of file gdbtk.c.

void gdbtk_start_timer ( void  )

Definition at line 257 of file gdbtk.c.

void gdbtk_stop_timer ( void  )

Definition at line 304 of file gdbtk.c.

int gdbtk_two_elem_cmd ( char *  ,
char *   
)

Definition at line 197 of file gdbtk-hooks.c.

int target_is_native ( struct target_ops t)

Definition at line 327 of file gdbtk.c.

void TclDebug ( char  level,
const char *  fmt,
  ... 
)

Definition at line 188 of file gdbtk.c.

int x_event ( int  )

Definition at line 430 of file gdbtk-hooks.c.


Variable Documentation

Definition at line 147 of file gdbtk-cmds.c.

Definition at line 112 of file gdbtk.c.

Definition at line 123 of file gdbtk.c.

Definition at line 68 of file gdbtk-hooks.c.

Tcl_Interp* gdbtk_interp

Definition at line 107 of file gdbtk.c.

Definition at line 110 of file gdbtk-cmds.c.

Definition at line 109 of file gdbtk-cmds.c.

Definition at line 183 of file gdbtk-hooks.c.

Definition at line 117 of file gdbtk.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines