GDB (xrefs)
Classes | Defines | Functions | Variables
/home/stan/gdb/src/gdb/reverse.c File Reference
#include "defs.h"
#include "gdb_string.h"
#include "target.h"
#include "top.h"
#include "cli/cli-cmds.h"
#include "cli/cli-decode.h"
#include "cli/cli-utils.h"
#include "inferior.h"
#include "regcache.h"

Go to the source code of this file.

Classes

struct  bookmark

Defines

#define ALL_BOOKMARKS(B)   for ((B) = bookmark_chain; (B); (B) = (B)->next)
#define ALL_BOOKMARKS_SAFE(B, TMP)

Functions

static void exec_direction_default (void *notused)
static void exec_reverse_once (char *cmd, char *args, int from_tty)
static void reverse_step (char *args, int from_tty)
static void reverse_stepi (char *args, int from_tty)
static void reverse_next (char *args, int from_tty)
static void reverse_nexti (char *args, int from_tty)
static void reverse_continue (char *args, int from_tty)
static void reverse_finish (char *args, int from_tty)
static void save_bookmark_command (char *args, int from_tty)
static int delete_one_bookmark (int num)
static void delete_all_bookmarks (void)
static void delete_bookmark_command (char *args, int from_tty)
static void goto_bookmark_command (char *args, int from_tty)
static int bookmark_1 (int bnum)
static void bookmarks_info (char *args, int from_tty)
void _initialize_reverse (void)

Variables

static struct bookmarkbookmark_chain
static int bookmark_count
initialize_file_ftype _initialize_reverse

Define Documentation

#define ALL_BOOKMARKS (   B)    for ((B) = bookmark_chain; (B); (B) = (B)->next)

Definition at line 116 of file reverse.c.

Referenced by bookmark_1(), delete_one_bookmark(), and goto_bookmark_command().

#define ALL_BOOKMARKS_SAFE (   B,
  TMP 
)
Value:
for ((B) = bookmark_chain;             \
          (B) ? ((TMP) = (B)->next, 1) : 0; \
          (B) = (TMP))

Definition at line 118 of file reverse.c.

Referenced by delete_all_bookmarks().


Function Documentation

void _initialize_reverse ( void  )
static int bookmark_1 ( int  bnum) [static]
static void bookmarks_info ( char *  args,
int  from_tty 
) [static]
static void delete_all_bookmarks ( void  ) [static]

Definition at line 204 of file reverse.c.

References ALL_BOOKMARKS_SAFE, bookmark::opaque_data, and xfree().

Referenced by delete_bookmark_command().

static void delete_bookmark_command ( char *  args,
int  from_tty 
) [static]
static int delete_one_bookmark ( int  num) [static]

Definition at line 173 of file reverse.c.

References ALL_BOOKMARKS, bookmark::next, bookmark::number, bookmark::opaque_data, and xfree().

Referenced by delete_bookmark_command().

static void exec_direction_default ( void *  notused) [static]

Definition at line 34 of file reverse.c.

References EXEC_FORWARD, and execution_direction.

Referenced by exec_reverse_once().

static void exec_reverse_once ( char *  cmd,
char *  args,
int  from_tty 
) [static]
static void goto_bookmark_command ( char *  args,
int  from_tty 
) [static]
static void reverse_continue ( char *  args,
int  from_tty 
) [static]

Definition at line 92 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

static void reverse_finish ( char *  args,
int  from_tty 
) [static]

Definition at line 98 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

static void reverse_next ( char *  args,
int  from_tty 
) [static]

Definition at line 80 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

static void reverse_nexti ( char *  args,
int  from_tty 
) [static]

Definition at line 86 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

static void reverse_step ( char *  args,
int  from_tty 
) [static]

Definition at line 68 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

static void reverse_stepi ( char *  args,
int  from_tty 
) [static]

Definition at line 74 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

static void save_bookmark_command ( char *  args,
int  from_tty 
) [static]

Variable Documentation

struct bookmark* bookmark_chain [static]

Definition at line 113 of file reverse.c.

Referenced by save_bookmark_command().

int bookmark_count [static]

Definition at line 114 of file reverse.c.

Referenced by save_bookmark_command().

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines