Skip to content

Commit b2b947f

Browse files
authored
Update gdb.py
Remove get gdb version
1 parent 0470d30 commit b2b947f

File tree

1 file changed

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

1 file changed

+0
-7
lines changed

testgres/plugins/pg_probackup2/pg_probackup2/gdb.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@ def __init__(self, cmd, env, attach=False):
5757
else:
5858
self.cmd = self.base_cmd + ['--args'] + cmd
5959

60-
# Get version
61-
gdb_version_number = re.search(
62-
br"^GNU gdb [^\d]*(\d+)\.(\d)",
63-
gdb_version)
64-
self.major_version = int(gdb_version_number.group(1))
65-
self.minor_version = int(gdb_version_number.group(2))
66-
6760
if self.verbose:
6861
print([' '.join(map(str, self.cmd))])
6962

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy