[PATCH] rtems/gdb: Fix powerpc builds on FreeBSD.

Chris Johns chrisj at rtems.org
Fri Nov 25 08:58:52 UTC 2016


This patch add a GDB patch to the gdb-7.12 build so the PowerPC
builds on FreeBSD.

 https://sourceware.org/bugzilla/show_bug.cgi?id=20863
---
 rtems/config/tools/rtems-gdb-7.12-1.cfg | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/rtems/config/tools/rtems-gdb-7.12-1.cfg b/rtems/config/tools/rtems-gdb-7.12-1.cfg
index 215b954..aac4dd6 100644
--- a/rtems/config/tools/rtems-gdb-7.12-1.cfg
+++ b/rtems/config/tools/rtems-gdb-7.12-1.cfg
@@ -24,6 +24,11 @@
 %endif
 
 #
+# Simulator error fix.
+#
+%patch add gdb --rsb-file=PATCH_Define_an_error_function_in_the_PPC_simulator -p1 https://sourceware.org/cgi-bin/get-raw-msg?listname=gdb-patches&date=2016-11&msgid=20161124152917.52189-1-jhb%40FreeBSD.org
+
+#
 # The gdb build instructions. We use 7.xx Release 1.
 #
 %include %{_configdir}/gdb-7-1.cfg
-- 
2.9.0



More information about the devel mailing list