diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/main.c | 3 | ||||
-rw-r--r-- | gdb/top.c | 6 |
3 files changed, 9 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9c7dcd8..5cf8439 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,11 @@ 2021-04-28 Andrew Burgess <andrew.burgess@embecosm.com> + * main.c (captured_main_1): Add a call to + finish_ext_lang_initialization. + * top.c (gdb_init): Remove call to finish_ext_lang_initialization. + +2021-04-28 Andrew Burgess <andrew.burgess@embecosm.com> + * guile/guile.c (gdbscm_set_backtrace): Add declaration. (gdbscm_finish_initialization): Add code moved from _initialize_guile. @@ -1053,6 +1053,9 @@ captured_main_1 (struct captured_main_args *context) execute_cmdargs (&cmdarg_vec, CMDARG_EARLYINIT_FILE, CMDARG_EARLYINIT_COMMAND, &ret); + /* Finish initializing the extension languges. */ + finish_ext_lang_initialization (); + /* Recheck if we're starting up quietly after processing the startup scripts and commands. */ if (!quiet) @@ -2408,12 +2408,6 @@ gdb_init () set_language (language_c); expected_language = current_language; /* Don't warn about the change. */ - /* Python initialization, for example, can require various commands to be - installed. For example "info pretty-printer" needs the "info" - prefix to be installed. Keep things simple and just do final - script initialization here. */ - finish_ext_lang_initialization (); - /* Create $_gdb_major and $_gdb_minor convenience variables. */ init_gdb_version_vars (); } |