From 5d1f2b13f2432655afde5507c4c767ee1a265c20 Mon Sep 17 00:00:00 2001 From: crazy hugsy Date: Tue, 4 Jun 2024 21:14:44 -0700 Subject: [PATCH] reload settings if gef-extras scripts were loaded --- gef.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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__