GDB (xrefs)
|
#include "cli-option.h"
Public Member Functions | |
uinteger_option_def (const char *long_option_, unsigned int *(*get_var_address_cb_)(Context *), const literal_def *extra_literals_, show_value_ftype *show_cmd_cb_, const char *set_doc_, const char *show_doc_=nullptr, const char *help_doc_=nullptr) | |
uinteger_option_def (const char *long_option_, unsigned int *(*get_var_address_cb_)(Context *), show_value_ftype *show_cmd_cb_, const char *set_doc_, const char *show_doc_=nullptr, const char *help_doc_=nullptr) | |
![]() | |
const option_def & | def () const |
Additional Inherited Members | ||
![]() | ||
const char * | name | |
var_types | type | |
const literal_def * | extra_literals | |
erased_get_var_address_ftype * | erased_get_var_address | |
union { | ||
bool *(* boolean )(const option_def &, void *ctx) | ||
unsigned int *(* uinteger )(const option_def &, void *ctx) | ||
int *(* integer )(const option_def &, void *ctx) | ||
const char **(* enumeration )(const option_def &, void *ctx) | ||
std::string *(* string )(const option_def &, void *ctx) | ||
} | var_address | |
const char *const * | enums = nullptr | |
bool | have_argument = true | |
show_value_ftype * | show_cmd_cb | |
const char * | set_doc | |
const char * | show_doc | |
const char * | help_doc | |
![]() | ||
typedef void * | erased_get_var_address_ftype() | |
![]() | ||
constexpr | option_def (const char *name_, var_types var_type_, const literal_def *extra_literals_, erased_get_var_address_ftype *erased_get_var_address_, show_value_ftype *show_cmd_cb_, const char *set_doc_, const char *show_doc_, const char *help_doc_) | |
Definition at line 210 of file cli-option.h.
|
inline |
Definition at line 212 of file cli-option.h.
References gdb::option::option_def::uinteger, and gdb::option::option_def::var_address.
|
inline |
Definition at line 227 of file cli-option.h.