mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-12-29 10:09:42 -06:00
Merge remote-tracking branch 'origin/GP-6190_d-millar_NO_CHANGE'
(Closes #8738)
This commit is contained in:
@@ -231,7 +231,7 @@ def on_session_status_changed(*args) -> None:
|
||||
with trace.client.batch():
|
||||
with trace.open_tx("New Session {}".format(util.selected_process())):
|
||||
commands.put_processes()
|
||||
return DbgEng.DEBUG_STATUS_GO
|
||||
return DbgEng.DEBUG_STATUS_NO_CHANGE
|
||||
|
||||
|
||||
@log_errors
|
||||
@@ -245,7 +245,7 @@ def on_symbol_state_changed(*args) -> None:
|
||||
return
|
||||
if args[0] == 1 or args[0] == 2:
|
||||
PROC_STATE[proc].modules = True
|
||||
return DbgEng.DEBUG_STATUS_GO
|
||||
return DbgEng.DEBUG_STATUS_NO_CHANGE
|
||||
|
||||
|
||||
@log_errors
|
||||
@@ -309,9 +309,9 @@ def on_threads_changed(*args) -> None:
|
||||
# print("ON_THREADS_CHANGED")
|
||||
proc = util.selected_process()
|
||||
if proc not in PROC_STATE:
|
||||
return DbgEng.DEBUG_STATUS_GO
|
||||
return DbgEng.DEBUG_STATUS_NO_CHANGE
|
||||
PROC_STATE[proc].threads = True
|
||||
return DbgEng.DEBUG_STATUS_GO
|
||||
return DbgEng.DEBUG_STATUS_NO_CHANGE
|
||||
|
||||
|
||||
def on_thread_selected(*args) -> None:
|
||||
@@ -446,9 +446,9 @@ def on_modules_changed(*args) -> None:
|
||||
# print("ON_MODULES_CHANGED")
|
||||
proc = util.selected_process()
|
||||
if proc not in PROC_STATE:
|
||||
return DbgEng.DEBUG_STATUS_GO
|
||||
return DbgEng.DEBUG_STATUS_NO_CHANGE
|
||||
PROC_STATE[proc].modules = True
|
||||
return DbgEng.DEBUG_STATUS_GO
|
||||
return DbgEng.DEBUG_STATUS_NO_CHANGE
|
||||
|
||||
|
||||
def on_breakpoint_created(bp) -> None:
|
||||
@@ -505,7 +505,7 @@ def on_breakpoint_deleted(bpid) -> None:
|
||||
@log_errors
|
||||
def on_breakpoint_hit(*args) -> None:
|
||||
# print("ON_BREAKPOINT_HIT: args={}".format(args))
|
||||
return DbgEng.DEBUG_STATUS_BREAK
|
||||
return DbgEng.DEBUG_STATUS_NO_CHANGE
|
||||
|
||||
|
||||
@log_errors
|
||||
|
||||
Reference in New Issue
Block a user