GDB (xrefs)
Classes | Macros | Functions | Variables
/tmp/gdb-8.1/gdb/reverse.c File Reference
#include "defs.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 "infrun.h"
#include "regcache.h"

Go to the source code of this file.

Classes

struct  bookmark
 

Macros

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

Functions

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

Variables

static struct bookmarkbookmark_chain
 
static int bookmark_count
 

Macro Definition Documentation

◆ ALL_BOOKMARKS

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

Definition at line 105 of file reverse.c.

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

◆ ALL_BOOKMARKS_SAFE

#define ALL_BOOKMARKS_SAFE (   B,
  TMP 
)
Value:
for ((B) = bookmark_chain; \
(B) ? ((TMP) = (B)->next, 1) : 0; \
(B) = (TMP))
static struct bookmark * bookmark_chain
Definition: reverse.c:102
Definition: aarch64-insn.h:36

Definition at line 107 of file reverse.c.

Referenced by delete_all_bookmarks().

Function Documentation

◆ _initialize_reverse()

void _initialize_reverse ( void  )

◆ bookmark_1()

static int bookmark_1 ( int  bnum)
static

◆ delete_all_bookmarks()

static void delete_all_bookmarks ( void  )
static

Definition at line 191 of file reverse.c.

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

Referenced by delete_bookmark_command().

◆ delete_bookmark_command()

static void delete_bookmark_command ( const char *  args,
int  from_tty 
)
static

◆ delete_one_bookmark()

static int delete_one_bookmark ( int  num)
static

◆ exec_reverse_once()

static void exec_reverse_once ( const char *  cmd,
const char *  args,
int  from_tty 
)
static

◆ goto_bookmark_command()

static void goto_bookmark_command ( const char *  args,
int  from_tty 
)
static

◆ info_bookmarks_command()

static void info_bookmarks_command ( const char *  args,
int  from_tty 
)
static

◆ reverse_continue()

static void reverse_continue ( const char *  args,
int  from_tty 
)
static

Definition at line 81 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

◆ reverse_finish()

static void reverse_finish ( const char *  args,
int  from_tty 
)
static

Definition at line 87 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

◆ reverse_next()

static void reverse_next ( const char *  args,
int  from_tty 
)
static

Definition at line 69 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

◆ reverse_nexti()

static void reverse_nexti ( const char *  args,
int  from_tty 
)
static

Definition at line 75 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

◆ reverse_step()

static void reverse_step ( const char *  args,
int  from_tty 
)
static

Definition at line 57 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

◆ reverse_stepi()

static void reverse_stepi ( const char *  args,
int  from_tty 
)
static

Definition at line 63 of file reverse.c.

References exec_reverse_once().

Referenced by _initialize_reverse().

◆ save_bookmark_command()

static void save_bookmark_command ( const char *  args,
int  from_tty 
)
static

Variable Documentation

◆ bookmark_chain

struct bookmark* bookmark_chain
static

◆ bookmark_count

int bookmark_count
static

Definition at line 103 of file reverse.c.

Referenced by save_bookmark_command().