Skip to content

Commit

Permalink
Reload settings if gef-extras scripts were loaded (#1118)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy authored Jun 5, 2024
1 parent 1b6f46a commit 0ca807b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gef.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down

0 comments on commit 0ca807b

Please sign in to comment.