[rtems-tools commit] Add patch used by RTEMS 6 epiphany GDB on FreeBSD

Sebastian Huber sebh at rtems.org
Wed Jun 5 09:13:33 UTC 2019


Module:    rtems-tools
Branch:    master
Commit:    b7b19f42546b81fc691333b57659b7861c97dc6d
Changeset: http://git.rtems.org/rtems-tools/commit/?id=b7b19f42546b81fc691333b57659b7861c97dc6d

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Jun  5 11:13:02 2019 +0200

Add patch used by RTEMS 6 epiphany GDB on FreeBSD

---

 tools/6/gdb/patch-gdb-python-python-config.py | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/tools/6/gdb/patch-gdb-python-python-config.py b/tools/6/gdb/patch-gdb-python-python-config.py
new file mode 100644
index 0000000..2433240
--- /dev/null
+++ b/tools/6/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:



More information about the vc mailing list