diff options
author | Tom Tromey <tom@tromey.com> | 2019-09-24 17:52:08 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-09-26 07:35:00 -0600 |
commit | 12904d3729fd027714bac97a6b8c28437c37c173 (patch) | |
tree | 0b2beb929bb6434a16ef55297279c86acb78f78d /gdb/top.c | |
parent | 41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51 (diff) | |
download | gdb-12904d3729fd027714bac97a6b8c28437c37c173.zip gdb-12904d3729fd027714bac97a6b8c28437c37c173.tar.gz gdb-12904d3729fd027714bac97a6b8c28437c37c173.tar.bz2 |
Remove initialize_utils
initialize_utils only registers some commands, so it isn't necessary
to run it at any particular time during startup. This patch removes
it and merges its contents into _initialize_utils.
Tested by the buildbot.
gdb/ChangeLog
2019-09-26 Tom Tromey <tom@tromey.com>
* utils.h (initialize_utils): Don't declare.
* top.c (gdb_init): Don't call initialize_utils.
* utils.c (initialize_utils): Remove. Move contents...
(_initialize_utils): ... here.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -2234,7 +2234,6 @@ gdb_init (char *argv0) init_cmd_lists (); /* This needs to be done first. */ initialize_targets (); /* Setup target_terminal macros for utils.c. */ - initialize_utils (); /* Make errors and warnings possible. */ init_page_info (); |