diff --git a/gdb-port/parser.py b/gdb-port/parser.py
index a9efd79494dc295f1ce53a594715a893571ef266..d8d53dc12d268f9365ca0290faf103d37df1c0ce 100644
--- a/gdb-port/parser.py
+++ b/gdb-port/parser.py
@@ -361,8 +361,8 @@ class ParserStack:
 	# checking self.committed will show if all the relevant allocations before revisiting the current stack frame have been committed.
 	# - self.stack_events[self.committed] == current_event
 
-	def get_pending_allocations():
+	def get_pending_allocations(self):
 		return self.pending_allocs
 
-	def clear_pending_allocations():
+	def clear_pending_allocations(self):
 		self.pending_allocs = { self.arena_int : {} }