From 33d927ec3978bb7f7074aef38a9e56d2fef74513 Mon Sep 17 00:00:00 2001 From: ValekoZ Date: Thu, 7 Dec 2023 15:35:36 +0100 Subject: [PATCH] [target-remote] Comment the code added by the PR Fix for https://github.com/hugsy/gef/pull/1020#discussion_r1418264540 --- gef.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gef.py b/gef.py index 7dd4b520e..5ee42b5c1 100644 --- a/gef.py +++ b/gef.py @@ -11229,6 +11229,7 @@ def target_remote_posthook(): gdb.execute(f"define target hook-remote\n{hook}\nend") gdb.execute(f"define target hook-extended-remote\n{hook}\nend") + # Register a post-hook for `target remote` that initialize the remote session gdb.execute(""" define target hookpost-remote pi target_remote_posthook()