From 498f3d0cd59d3c3e6ff2ef43f24e205b249556f8 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 21 Apr 2016 18:10:15 -0700 Subject: buildgcc: Update gdb and expat Update gdb to 7.11 and expat to 2.1.1 riscv64-elf is still broken. Change-Id: Id7605f4274fcb15f9c3e366f5c492328f70f7956 Signed-off-by: Stefan Reinauer Reviewed-on: https://review.coreboot.org/14461 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering --- util/crossgcc/patches/gdb-7.9.1_pythonhome.patch | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 util/crossgcc/patches/gdb-7.9.1_pythonhome.patch (limited to 'util/crossgcc/patches/gdb-7.9.1_pythonhome.patch') diff --git a/util/crossgcc/patches/gdb-7.9.1_pythonhome.patch b/util/crossgcc/patches/gdb-7.9.1_pythonhome.patch deleted file mode 100644 index 7e34c7afa6..0000000000 --- a/util/crossgcc/patches/gdb-7.9.1_pythonhome.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -ur gdb-7.9.1/gdb/python/python.c gdb-7.9.1.patched/gdb/python/python.c ---- gdb-7.9.1/gdb/python/python.c 2015-05-13 10:36:05.000000000 -0700 -+++ gdb-7.9.1.patched/gdb/python/python.c 2015-06-09 13:13:24.824178760 -0700 -@@ -1681,6 +1681,15 @@ - #endif - #endif - -+ char readlinkbuffer[BUFSIZ]; -+ int readlinks = readlink("/proc/self/exe", readlinkbuffer, BUFSIZ - 1); -+ readlinkbuffer[readlinks] = 0; -+ char *executeablepath = dirname(readlinkbuffer); -+ char *pythonhome = malloc(strlen(executeablepath) + strlen("/../") + 2); -+ strcpy(pythonhome, executeablepath); -+ strcat(pythonhome, "/../"); -+ setenv("PYTHONHOME", pythonhome, 1); -+ - Py_Initialize (); - PyEval_InitThreads (); - -- cgit v1.2.3