diff --git a/gef.py b/gef.py index c713c62ef..f3b9b108e 100644 --- a/gef.py +++ b/gef.py @@ -11718,7 +11718,9 @@ def target_remote_posthook(): gef.gdb.show_banner() # load config - gef.gdb.load_extra_plugins() + if gef.gdb.load_extra_plugins(): + # reload settings + gdb.execute("gef restore") # setup gdb prompt gdb.prompt_hook = __gef_prompt__