diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-04-22 16:46:23 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2021-04-28 09:56:19 +0100 |
commit | a3b5ef3e45642e2e162f02f125a2322c3d1ad95f (patch) | |
tree | 3cd7c05246ca1daa275ec4c7cc39a93e7e602ebc /gdb/top.c | |
parent | eb19308f2d09675dd936960c15603ae749e0f837 (diff) | |
download | gdb-a3b5ef3e45642e2e162f02f125a2322c3d1ad95f.zip gdb-a3b5ef3e45642e2e162f02f125a2322c3d1ad95f.tar.gz gdb-a3b5ef3e45642e2e162f02f125a2322c3d1ad95f.tar.bz2 |
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/top.c')
-rw-r--r-- | gdb/top.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2360,8 +2360,10 @@ The second argument is the terminal the UI runs on."), &cmdlist); 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 (""); |