From 04cd0e5629bca219470e4b2e9b164e064048a5e7 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 31 Aug 2019 19:44:51 +0000 Subject: project: gdb bits: moved patch notes to gdb.notes. --- notes/gdb.notes | 35 +++++++++++++++++++++++++++++++++++ patches/gdb-7.12.midipix.patch | 36 ------------------------------------ 2 files changed, 35 insertions(+), 36 deletions(-) create mode 100644 notes/gdb.notes diff --git a/notes/gdb.notes b/notes/gdb.notes new file mode 100644 index 0000000..d2214c8 --- /dev/null +++ b/notes/gdb.notes @@ -0,0 +1,35 @@ +========== +gdb.config: +========== +#!/bin/sh + + CFLAGS="-g3 -O0" \ + CXXFLAGS="-g3 -O0" \ + CFLAGS_FOR_TARGET="-g3 -O0 --sysroot=$HOME/midipix/nt64/debug/native" \ + CXX_FOR_TARGET="-g3 -O0 --sysroot=$HOME/midipix/nt64/debug/native" \ + LDFLAGS_FOR_TARGET="--sysroot=$HOME/midipix/nt64/debug/native" \ +../gdb-7.12/configure \ + --with-system-zlib \ + --with-system-libiberty \ + --with-system-readline \ + --host=x86_64-nt64-midipix \ + --target=x86_64-nt64-midipix \ + --build=$(cc -dumpmachine) + +======== +gdb.make: +======== +#!/bin/sh + +make LIBTOOL=rdlibtool MAKE="make LIBTOOL=rdlibtool" -j8 \ + SYSROOT_FLAGS=--sysroot=$HOME/midipix/nt64/debug/native + + +=========== +gdb.install: +=========== +#!/bin/sh + +make LIBTOOL=rdlibtool MAKE="make LIBTOOL=rdlibtool" -j8 \ + SYSROOT_FLAGS=--sysroot=$HOME/midipix/nt64/debug/native \ + DESTDIR=destdir install diff --git a/patches/gdb-7.12.midipix.patch b/patches/gdb-7.12.midipix.patch index ac316ac..906d1c6 100644 --- a/patches/gdb-7.12.midipix.patch +++ b/patches/gdb-7.12.midipix.patch @@ -1,39 +1,3 @@ -========== -gdb.config: -========== -#!/bin/sh - - CFLAGS="-g3 -O0" \ - CXXFLAGS="-g3 -O0" \ - CFLAGS_FOR_TARGET="-g3 -O0 --sysroot=$HOME/midipix/nt64/debug/native" \ - CXX_FOR_TARGET="-g3 -O0 --sysroot=$HOME/midipix/nt64/debug/native" \ - LDFLAGS_FOR_TARGET="--sysroot=$HOME/midipix/nt64/debug/native" \ -../gdb-7.12/configure \ - --with-system-zlib \ - --with-system-libiberty \ - --with-system-readline \ - --host=x86_64-nt64-midipix \ - --target=x86_64-nt64-midipix \ - --build=$(cc -dumpmachine) - -======== -gdb.make: -======== -#!/bin/sh - -make LIBTOOL=rdlibtool MAKE="make LIBTOOL=rdlibtool" -j8 \ - SYSROOT_FLAGS=--sysroot=$HOME/midipix/nt64/debug/native - - -=========== -gdb.install: -=========== -#!/bin/sh - -make LIBTOOL=rdlibtool MAKE="make LIBTOOL=rdlibtool" -j8 \ - SYSROOT_FLAGS=--sysroot=$HOME/midipix/nt64/debug/native \ - DESTDIR=destdir install - diff -ru --new-file a/bfd/config.bfd b/bfd/config.bfd --- a/bfd/config.bfd 2016-08-01 15:50:20.000000000 +0000 +++ b/bfd/config.bfd 2019-06-03 23:32:57.633401252 +0000 -- cgit v1.2.3