GDB (API)
Typedefs | Functions
/home/stan/gdb/src/gdb/cleanups.h File Reference

Go to the source code of this file.

Typedefs

typedef void( make_cleanup_ftype )(void *)
typedef void( make_cleanup_dtor_ftype )(void *)

Functions

struct cleanup * make_cleanup (make_cleanup_ftype *, void *)
struct cleanup * make_cleanup_dtor (make_cleanup_ftype *, void *, make_cleanup_dtor_ftype *)
struct cleanup * make_final_cleanup (make_cleanup_ftype *, void *)
struct cleanup * all_cleanups (void)
void do_cleanups (struct cleanup *)
void do_final_cleanups (struct cleanup *)
void discard_cleanups (struct cleanup *)
void discard_final_cleanups (struct cleanup *)
struct cleanup * save_cleanups (void)
struct cleanup * save_final_cleanups (void)
void restore_cleanups (struct cleanup *)
void restore_final_cleanups (struct cleanup *)
void null_cleanup (void *)

Typedef Documentation

typedef void( make_cleanup_dtor_ftype)(void *)

Definition at line 33 of file cleanups.h.

typedef void( make_cleanup_ftype)(void *)

Definition at line 30 of file cleanups.h.


Function Documentation

struct cleanup* all_cleanups ( void  ) [read]

Definition at line 166 of file cleanups.c.

void discard_cleanups ( struct cleanup *  )

Definition at line 213 of file cleanups.c.

void discard_final_cleanups ( struct cleanup *  )

Definition at line 222 of file cleanups.c.

void do_cleanups ( struct cleanup *  )

Definition at line 175 of file cleanups.c.

void do_final_cleanups ( struct cleanup *  )

Definition at line 184 of file cleanups.c.

struct cleanup* make_cleanup ( make_cleanup_ftype ,
void *   
) [read]

Definition at line 117 of file cleanups.c.

struct cleanup* make_cleanup_dtor ( make_cleanup_ftype ,
void *  ,
make_cleanup_dtor_ftype  
) [read]
struct cleanup* make_final_cleanup ( make_cleanup_ftype ,
void *   
) [read]

Definition at line 136 of file cleanups.c.

void null_cleanup ( void *  )

Definition at line 295 of file cleanups.c.

void restore_cleanups ( struct cleanup *  )

Definition at line 274 of file cleanups.c.

void restore_final_cleanups ( struct cleanup *  )

Definition at line 282 of file cleanups.c.

struct cleanup* save_cleanups ( void  ) [read]

Definition at line 243 of file cleanups.c.

struct cleanup* save_final_cleanups ( void  ) [read]

Definition at line 252 of file cleanups.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines