aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-09-24 17:52:08 -0600
committerTom Tromey <tom@tromey.com>2019-09-26 07:35:00 -0600
commit12904d3729fd027714bac97a6b8c28437c37c173 (patch)
tree0b2beb929bb6434a16ef55297279c86acb78f78d /gdb/top.c
parent41f37a6fb71f2a3de388108f5cdfca9cbe6e9d51 (diff)
downloadgdb-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.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index 49e6daa..a1a08e0 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -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 ();