diff --git a/SysBuild/development/gdb b/SysBuild/development/gdb index c3472fa..6f901a6 100644 --- a/SysBuild/development/gdb +++ b/SysBuild/development/gdb @@ -86,5 +86,18 @@ mk() { } postmk() { - echo "Nothing to do for postmk()" + #gdb destroyes the original *.la files from binutils with missfunctional own ones + #This will remove the defektive from gdb + for i in $TMPROOT/usr/${LIBDIR}/libbfd.la \ + $TMPROOT/usr/${LIBDIR}/libbfd.a \ + $TMPROOT/usr/${LIBDIR}/libopcodes.la \ + $TMPROOT/usr/${LIBDIR}/libopcodes.a \ + $TMPROOT/usr/${LIBDIR}/libiberty.a \ + $TMPROOT/usr/include/bfd.h \ + $TMPROOT/usr/include/dis-asm.h \ + $TMPROOT/usr/include/symcat.h \ + $TMPROOT/usr/include/ansidecl.h \ + $TMPROOT/usr/include/bfdlink.h ; do + rm $i + done }