summaryrefslogtreecommitdiff
path: root/gdb/main.c
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2021-04-22 16:46:23 +0100
committerAndrew Burgess <andrew.burgess@embecosm.com>2021-04-28 09:56:19 +0100
commita3b5ef3e45642e2e162f02f125a2322c3d1ad95f (patch)
tree3cd7c05246ca1daa275ec4c7cc39a93e7e602ebc /gdb/main.c
parenteb19308f2d09675dd936960c15603ae749e0f837 (diff)
downloadbinutils-gdb-a3b5ef3e45642e2e162f02f125a2322c3d1ad95f.tar.gz
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.
Diffstat (limited to 'gdb/main.c')
-rw-r--r--gdb/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/main.c b/gdb/main.c
index 60c08fb83dd..652e6f76fa0 100644
--- a/gdb/main.c
+++ b/gdb/main.c
@@ -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)