summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-02-19 12:23:34 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-02-19 12:24:19 +0100
commit35e6930f120e841b39d2c1196f02b83c1b4b7a24 (patch)
treec38fdc3550d7485340f7a1b89982292249826e88
parent1c821fe672849770f55978ecf51b536973446536 (diff)
Add patch used by RTEMS 5 epiphany GDB on FreeBSD
-rw-r--r--tools/5/gdb/patch-gdb-python-python-config.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/5/gdb/patch-gdb-python-python-config.py b/tools/5/gdb/patch-gdb-python-python-config.py
new file mode 100644
index 0000000..2433240
--- /dev/null
+++ b/tools/5/gdb/patch-gdb-python-python-config.py
@@ -0,0 +1,11 @@
+--- gdb/python/python-config.py.orig 2013-10-17 11:24:52.000000000 +0200
++++ gdb/python/python-config.py 2013-10-17 11:25:04.000000000 +0200
+@@ -59,6 +59,8 @@
+
+ elif opt in ('--libs', '--ldflags'):
+ libs = []
++ if getvar('LDFLAGS') is not None:
++ libs.extend(getvar('LDFLAGS').split())
+ if getvar('LIBS') is not None:
+ libs.extend(getvar('LIBS').split())
+ if getvar('SYSLIBS') is not None: