#include "defs.h"
#include "diagnostics.h"
#include <errno.h>
#include "gdbsupport/scoped_fd.h"
#include "debuginfod-support.h"
#include "gdbsupport/gdb_optional.h"
#include "cli/cli-cmds.h"
#include "cli/cli-style.h"
#include "cli-out.h"
#include "target.h"
Go to the source code of this file.
|
#define | NO_IMPL _("Support for debuginfod is not compiled into GDB.") |
|
|
scoped_fd | debuginfod_source_query (const unsigned char *build_id, int build_id_len, const char *srcpath, gdb::unique_xmalloc_ptr< char > *destname) |
|
scoped_fd | debuginfod_debuginfo_query (const unsigned char *build_id, int build_id_len, const char *filename, gdb::unique_xmalloc_ptr< char > *destname) |
|
scoped_fd | debuginfod_exec_query (const unsigned char *build_id, int build_id_len, const char *filename, gdb::unique_xmalloc_ptr< char > *destname) |
|
scoped_fd | debuginfod_section_query (const unsigned char *build_id, int build_id_len, const char *filename, const char *section_name, gdb::unique_xmalloc_ptr< char > *destname) |
|
static void | set_debuginfod_enabled (const char *value) |
|
static const char * | get_debuginfod_enabled () |
|
static void | show_debuginfod_enabled (ui_file *file, int from_tty, cmd_list_element *cmd, const char *value) |
|
static void | set_debuginfod_urls (const std::string &urls) |
|
static const std::string & | get_debuginfod_urls () |
|
static void | show_debuginfod_urls (ui_file *file, int from_tty, cmd_list_element *cmd, const char *value) |
|
static void | show_debuginfod_verbose_command (ui_file *file, int from_tty, cmd_list_element *cmd, const char *value) |
|
static void | maint_set_debuginfod_download_sections (bool value) |
|
static bool | maint_get_debuginfod_download_sections () |
|
void | _initialize_debuginfod () |
|
◆ NO_IMPL
#define NO_IMPL _("Support for debuginfod is not compiled into GDB.") |
◆ _initialize_debuginfod()
void _initialize_debuginfod |
( |
| ) |
|
◆ debuginfod_debuginfo_query()
scoped_fd debuginfod_debuginfo_query |
( |
const unsigned char * | build_id, |
|
|
int | build_id_len, |
|
|
const char * | filename, |
|
|
gdb::unique_xmalloc_ptr< char > * | destname ) |
◆ debuginfod_exec_query()
scoped_fd debuginfod_exec_query |
( |
const unsigned char * | build_id, |
|
|
int | build_id_len, |
|
|
const char * | filename, |
|
|
gdb::unique_xmalloc_ptr< char > * | destname ) |
◆ debuginfod_section_query()
scoped_fd debuginfod_section_query |
( |
const unsigned char * | build_id, |
|
|
int | build_id_len, |
|
|
const char * | filename, |
|
|
const char * | section_name, |
|
|
gdb::unique_xmalloc_ptr< char > * | destname ) |
◆ debuginfod_source_query()
scoped_fd debuginfod_source_query |
( |
const unsigned char * | build_id, |
|
|
int | build_id_len, |
|
|
const char * | srcpath, |
|
|
gdb::unique_xmalloc_ptr< char > * | destname ) |
◆ get_debuginfod_enabled()
static const char * get_debuginfod_enabled |
( |
| ) |
|
|
static |
◆ get_debuginfod_urls()
static const std::string & get_debuginfod_urls |
( |
| ) |
|
|
static |
◆ maint_get_debuginfod_download_sections()
static bool maint_get_debuginfod_download_sections |
( |
| ) |
|
|
static |
◆ maint_set_debuginfod_download_sections()
static void maint_set_debuginfod_download_sections |
( |
bool | value | ) |
|
|
static |
◆ set_debuginfod_enabled()
static void set_debuginfod_enabled |
( |
const char * | value | ) |
|
|
static |
◆ set_debuginfod_urls()
static void set_debuginfod_urls |
( |
const std::string & | urls | ) |
|
|
static |
◆ show_debuginfod_enabled()
◆ show_debuginfod_urls()
◆ show_debuginfod_verbose_command()
static void show_debuginfod_verbose_command |
( |
ui_file * | file, |
|
|
int | from_tty, |
|
|
cmd_list_element * | cmd, |
|
|
const char * | value ) |
|
static |
◆ debuginfod_ask
const char debuginfod_ask[] = "ask" |
|
static |
◆ debuginfod_download_sections
bool debuginfod_download_sections |
|
static |
◆ debuginfod_enabled
const char* debuginfod_enabled |
|
static |
◆ debuginfod_enabled_enum
const char* debuginfod_enabled_enum[] |
|
static |
Initial value:=
{
nullptr
}
static const char debuginfod_on[]
static const char debuginfod_ask[]
Definition at line 42 of file debuginfod-support.c.
◆ debuginfod_off
const char debuginfod_off[] = "off" |
|
static |
◆ debuginfod_on
const char debuginfod_on[] = "on" |
|
static |
◆ debuginfod_verbose
unsigned int debuginfod_verbose = 1 |
|
static |
◆ maint_set_debuginfod_cmdlist
◆ maint_show_debuginfod_cmdlist
◆ set_debuginfod_prefix_list
◆ show_debuginfod_prefix_list