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.
+2021-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * 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.
+
2021-04-27 Luis Machado <luis.machado@linaro.org>
* psymtab.c (psymbol_functions::dump): Output newline.
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)
set_cmd_completer (c, interpreter_completer);
}
+/* See top.h. */
+
void
-gdb_init (char *argv0)
+gdb_init ()
{
saved_command_line = xstrdup ("");
previous_saved_command_line = xstrdup ("");
extern int gdb_in_secondary_prompt_p (struct ui *ui);
/* Perform _initialize initialization. */
-extern void gdb_init (char *);
+extern void gdb_init ();
/* For use by event-top.c. */
/* Variables from top.c. */