gdb: remove unused argument from gdb_init

The argument to gdb_init is not used, remove it.

There should be no user visible changes after this commit.

gdb/ChangeLog:

	* main.c (captured_main_1): Don't pass argument to gdb_init.
	* top.c (gdb_init): Remove unused argument, and add header
	comment.
	* top.h (gdb_init): Remove argument.
This commit is contained in:
Andrew Burgess 2021-04-22 16:46:23 +01:00
parent eb19308f2d
commit a3b5ef3e45
4 changed files with 12 additions and 3 deletions

View file

@ -1039,7 +1039,7 @@ captured_main_1 (struct captured_main_args *context)
gdb::alternate_signal_stack signal_stack;
/* Initialize all files. */
gdb_init (gdb_program_name);
gdb_init ();
/* Process early init files and early init options from the command line. */
if (!inhibit_gdbinit)