forked from Imagelibrary/binutils-gdb
Remove two initialization functions
I noticed a couple of initialization functions that aren't really needed, and that currently require explicit calls in gdb_init. This patch removes these functions, simplifying gdb a little. Regression tested on x86-64 Fedora 34.
This commit is contained in:
@@ -76,7 +76,7 @@ static void filter_sals (std::vector<symtab_and_line> &);
|
||||
|
||||
|
||||
/* See cli-cmds.h. */
|
||||
unsigned int max_user_call_depth;
|
||||
unsigned int max_user_call_depth = 1024;
|
||||
|
||||
/* Define all cmd_list_elements. */
|
||||
|
||||
@@ -2105,12 +2105,6 @@ filter_sals (std::vector<symtab_and_line> &sals)
|
||||
sals.erase (from, sals.end ());
|
||||
}
|
||||
|
||||
void
|
||||
init_cmd_lists (void)
|
||||
{
|
||||
max_user_call_depth = 1024;
|
||||
}
|
||||
|
||||
static void
|
||||
show_info_verbose (struct ui_file *file, int from_tty,
|
||||
struct cmd_list_element *c,
|
||||
|
||||
Reference in New Issue
Block a user