|
GDB (xrefs)
|
#include "tid-parse.h"
Public Member Functions | |
| tid_range_parser () | |
| tid_range_parser (const char *tidlist, int default_inferior) | |
| void | init (const char *tidlist, int default_inferior) |
| bool | get_tid (int *inf_num, int *thr_num) |
| bool | get_tid_range (int *inf_num, int *thr_start, int *thr_end) |
| bool | in_star_range () const |
| bool | finished () const |
| const char * | cur_tok () const |
| void | skip_range () |
| bool | tid_is_qualified () const |
Private Types | |
| enum | { STATE_INFERIOR, STATE_THREAD_RANGE, STATE_STAR_RANGE } |
Private Member Functions | |
| tid_range_parser (const tid_range_parser &) | |
| tid_range_parser & | operator= (const tid_range_parser &) |
| bool | get_tid_or_range (int *inf_num, int *thr_start, int *thr_end) |
Private Attributes | |
| enum tid_range_parser:: { ... } | m_state |
| const char * | m_cur_tok |
| number_or_range_parser | m_range_parser |
| int | m_inf_num |
| bool | m_qualified |
| int | m_default_inferior |
Definition at line 54 of file tid-parse.h.
|
private |
| Enumerator | |
|---|---|
| STATE_INFERIOR | |
| STATE_THREAD_RANGE | |
| STATE_STAR_RANGE | |
Definition at line 142 of file tid-parse.h.
|
inline |
Definition at line 58 of file tid-parse.h.
| tid_range_parser::tid_range_parser | ( | const char * | tidlist, |
| int | default_inferior | ||
| ) |
Definition at line 116 of file tid-parse.c.
References init().
|
private |
| const char * tid_range_parser::cur_tok | ( | ) | const |
Definition at line 154 of file tid-parse.c.
References _, number_or_range_parser::cur_tok(), gdb_assert_not_reached, m_cur_tok, m_range_parser, m_state, STATE_INFERIOR, STATE_STAR_RANGE, and STATE_THREAD_RANGE.
Referenced by thread_apply_command(), and tid_is_in_list().
| bool tid_range_parser::finished | ( | ) | const |
Definition at line 137 of file tid-parse.c.
References _, number_or_range_parser::finished(), gdb_assert_not_reached, m_cur_tok, m_range_parser, m_state, STATE_INFERIOR, STATE_STAR_RANGE, and STATE_THREAD_RANGE.
Referenced by thread_apply_command(), and tid_is_in_list().
| bool tid_range_parser::get_tid | ( | int * | inf_num, |
| int * | thr_num | ||
| ) |
Definition at line 289 of file tid-parse.c.
References gdb_assert, and get_tid_or_range().
Referenced by thread_apply_command().
|
private |
Definition at line 191 of file tid-parse.c.
References _, number_or_range_parser::cur_tok(), number_or_range_parser::end_value(), error(), number_or_range_parser::get_number(), get_positive_number_trailer(), number_or_range_parser::in_range(), number_or_range_parser::init(), INT_MAX, m_cur_tok, m_default_inferior, m_inf_num, m_qualified, m_range_parser, m_state, number_or_range_parser::setup_range(), skip_range(), skip_spaces(), skip_to_space(), STATE_INFERIOR, STATE_STAR_RANGE, and STATE_THREAD_RANGE.
Referenced by get_tid(), and get_tid_range().
| bool tid_range_parser::get_tid_range | ( | int * | inf_num, |
| int * | thr_start, | ||
| int * | thr_end | ||
| ) |
Definition at line 278 of file tid-parse.c.
References gdb_assert, and get_tid_or_range().
Referenced by thread_apply_command(), and tid_is_in_list().
| bool tid_range_parser::in_star_range | ( | ) | const |
Definition at line 299 of file tid-parse.c.
References m_state, and STATE_STAR_RANGE.
Referenced by thread_apply_command().
| void tid_range_parser::init | ( | const char * | tidlist, |
| int | default_inferior | ||
| ) |
Definition at line 125 of file tid-parse.c.
References m_cur_tok, m_default_inferior, m_inf_num, m_qualified, m_state, and STATE_INFERIOR.
Referenced by skip_range(), thread_apply_command(), and tid_range_parser().
|
private |
| void tid_range_parser::skip_range | ( | ) |
Definition at line 169 of file tid-parse.c.
References number_or_range_parser::cur_tok(), gdb_assert, init(), m_default_inferior, m_range_parser, m_state, number_or_range_parser::skip_range(), STATE_STAR_RANGE, and STATE_THREAD_RANGE.
Referenced by get_tid_or_range(), and thread_apply_command().
| bool tid_range_parser::tid_is_qualified | ( | ) | const |
Definition at line 181 of file tid-parse.c.
References m_qualified.
Referenced by thread_apply_command().
|
private |
Definition at line 156 of file tid-parse.h.
Referenced by cur_tok(), finished(), get_tid_or_range(), and init().
|
private |
Definition at line 171 of file tid-parse.h.
Referenced by get_tid_or_range(), init(), and skip_range().
|
private |
Definition at line 163 of file tid-parse.h.
Referenced by get_tid_or_range(), and init().
|
private |
Definition at line 168 of file tid-parse.h.
Referenced by get_tid_or_range(), init(), and tid_is_qualified().
|
private |
Definition at line 160 of file tid-parse.h.
Referenced by cur_tok(), finished(), get_tid_or_range(), and skip_range().
| enum { ... } tid_range_parser::m_state |
Referenced by cur_tok(), finished(), get_tid_or_range(), in_star_range(), init(), and skip_range().
1.8.14