Commit 50b383b0 authored by Ben Gamari's avatar Ben Gamari 🐢

ghc_gdb: Fix heap_alloced

parent c7398440
......@@ -209,7 +209,7 @@ heap_check = None
def heap_alloced(ptr: Ptr):
global heap_check
if heap_check is not None:
heap_check(ptr)
return heap_check(ptr)
else:
# If we don't use the LARGE_ADDRESS_SPACE heap model then
# we have to fall back on the heap_alloced function.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment