aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdb/python-3.8.patch
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-02-11 14:06:47 +0000
committerLeo <thinkabit.ukim@gmail.com>2020-02-29 23:00:19 -0300
commit96dbd3e6264eab9aafa5a69fd7e4593306bf9feb (patch)
treecf7e46c0afc9ccba812506c8d969863acbfb98ba /main/gdb/python-3.8.patch
parentf77cf815be9045a7c82728821b64512fdf1cdaca (diff)
downloadaports-96dbd3e6264eab9aafa5a69fd7e4593306bf9feb.tar.bz2
aports-96dbd3e6264eab9aafa5a69fd7e4593306bf9feb.tar.xz
main/gdb: upgrade to 9.1
remove python-3.8.patch, fixed upstream refactor musl-signals.patch for new release
Diffstat (limited to 'main/gdb/python-3.8.patch')
-rw-r--r--main/gdb/python-3.8.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/main/gdb/python-3.8.patch b/main/gdb/python-3.8.patch
deleted file mode 100644
index db26f5ef40..0000000000
--- a/main/gdb/python-3.8.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From b6484282f85bf7f11451b2441599c241d302ad9d Mon Sep 17 00:00:00 2001
-From: Raul Tambre <raul@tambre.ee>
-Date: Sat, 4 May 2019 15:48:17 -0400
-Subject: [PATCH] Fix incorrect use of 'is' operator for comparison in
- python/lib/gdb/command/prompt.py
-
-The 'is' operator is not meant to be used for comparisons. It currently working
-is an implementation detail of CPython. CPython 3.8 has added a SyntaxWarning
-for this.
-
-diff --git a/gdb/python/lib/gdb/command/prompt.py b/gdb/python/lib/gdb/command/prompt.py
-index 3d662a7..04b9e49 100644
---- a/gdb/python/lib/gdb/command/prompt.py
-+++ b/gdb/python/lib/gdb/command/prompt.py
-@@ -45,7 +45,7 @@ The currently defined substitutions are:
- self.hook_set = False
-
- def get_show_string (self, pvalue):
-- if self.value is not '':
-+ if self.value:
- return "The extended prompt is: " + self.value
- else:
- return "The extended prompt is not set."
-@@ -57,7 +57,7 @@ The currently defined substitutions are:
- return ""
-
- def before_prompt_hook(self, current):
-- if self.value is not '':
-+ if self.value:
- return gdb.prompt.substitute_prompt(self.value)
- else:
- return None
-