Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d87fbc7

Browse files
author
Sofia Kopikova
committedNov 18, 2024·
Fix broken pipe from gdb after killing process
1 parent a5cfdb6 commit d87fbc7

File tree

1 file changed

+3
-0
lines changed
  • testgres/plugins/pg_probackup2/pg_probackup2

1 file changed

+3
-0
lines changed
 

‎testgres/plugins/pg_probackup2/pg_probackup2/gdb.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def kill(self):
108108
self.proc.stdin.close()
109109
self.proc.stdout.close()
110110

111+
def terminate_subprocess(self):
112+
self._execute('kill')
113+
111114
def set_breakpoint(self, location):
112115

113116
result = self._execute('break ' + location)

0 commit comments

Comments
 (0)
Please sign in to comment.