GDB (xrefs)
Functions
/tmp/gdb-7.10/gdb/exceptions.c File Reference
#include "defs.h"
#include "exceptions.h"
#include "breakpoint.h"
#include "target.h"
#include "inferior.h"
#include "annotate.h"
#include "ui-out.h"
#include "serial.h"
#include "gdbthread.h"

Go to the source code of this file.

Functions

void prepare_to_throw_exception (void)
 
static void print_flush (void)
 
static void print_exception (struct ui_file *file, struct gdb_exception e)
 
void exception_print (struct ui_file *file, struct gdb_exception e)
 
void exception_fprintf (struct ui_file *file, struct gdb_exception e, const char *prefix,...)
 
int catch_exceptions (struct ui_out *uiout, catch_exceptions_ftype *func, void *func_args, return_mask mask)
 
int catch_exceptions_with_msg (struct ui_out *func_uiout, catch_exceptions_ftype *func, void *func_args, char **gdberrmsg, return_mask mask)
 
int catch_errors (catch_errors_ftype *func, void *func_args, char *errstring, return_mask mask)
 

Function Documentation

int catch_errors ( catch_errors_ftype func,
void *  func_args,
char *  errstring,
return_mask  mask 
)
int catch_exceptions ( struct ui_out uiout,
catch_exceptions_ftype func,
void *  func_args,
return_mask  mask 
)
int catch_exceptions_with_msg ( struct ui_out func_uiout,
catch_exceptions_ftype func,
void *  func_args,
char **  gdberrmsg,
return_mask  mask 
)
void exception_fprintf ( struct ui_file file,
struct gdb_exception  e,
const char *  prefix,
  ... 
)
void exception_print ( struct ui_file file,
struct gdb_exception  e 
)
void prepare_to_throw_exception ( void  )

Definition at line 31 of file exceptions.c.

References clear_quit_flag(), and immediate_quit.

Referenced by throw_exception().

static void print_exception ( struct ui_file file,
struct gdb_exception  e 
)
static
static void print_flush ( void  )
static