diff --git a/dist/gdb/Makefile.linux b/dist/gdb/Makefile.linux
index 676f8a602a82903ecd881464837932688ed804be..25da63d5b301ddb65dbf58638ac24d8ba8723844 100644
--- a/dist/gdb/Makefile.linux
+++ b/dist/gdb/Makefile.linux
@@ -5,7 +5,7 @@ staging=${broot}/staging
 pyversion=2.7
 expatversion=2.0.1
 arch=`uname -sm | sed 's/ /-/g' | tr A-Z a-z`
-version=7.4
+version=7.4.1
 targetdir=${broot}/qtcreator-gdb-${version}
 gdbtargets=$(addprefix ${targetdir}/gdb-, ${targets})
 packagename=qtcreator-gdb-${version}-${arch}.tar.gz
@@ -75,7 +75,7 @@ ${staging}/gdb-${version}/configure: ${source}/gdb-${version}.tar.bz2 | makestag
         patch -p2 < ${broot}/patches/pythonhome-7.4.patch && \
         patch -p1 < ${broot}/patches/gdb-buildid-locate.patch && \
         patch -p1 < ${broot}/patches/gdb-ipv6.patch && \
-	patch -p1 < ${broot}/patches/gdb-work-around-trk-single-step.patch
+        patch -p1 < ${broot}/patches/gdb-work-around-trk-single-step.patch
 
 ${gdbtargets}: ${targetdir}/gdb-%: ${staging}/gdb-${version}/configure ${staging}/lib/libpython${pyversion}.a ${staging}/lib/libexpat.a | maketargetdir
 	test -e ${staging}/gdb-${version}-$* || mkdir ${staging}/gdb-${version}-$*
diff --git a/dist/gdb/Makefile.mingw b/dist/gdb/Makefile.mingw
index 30179e69e5c73b5596f7d003451a900054528206..74365da427f9744a70e1b4a32646727aaf145b60 100644
--- a/dist/gdb/Makefile.mingw
+++ b/dist/gdb/Makefile.mingw
@@ -6,7 +6,7 @@ pyversion=2.7
 pydir=${broot}/python
 expatversion=2.0.1
 iconvversion=1.14
-version=7.4
+version=7.4.1
 targetdir=${broot}/qtcreator-gdb-${version}
 gdbtargets=$(addprefix ${targetdir}/gdb-, ${targets})
 packageparts=${targetdir}/lib ${targetdir}/lib ${targetdir}/libiconv-2.dll ${targetdir}/python27.dll ${targetdir}/libexpat-1.dll
@@ -78,8 +78,7 @@ ${staging}/gdb-${version}/configure: ${source}/gdb-${version}.tar.bz2 | makestag
 	tar xf ${source}/gdb-${version}.tar.bz2 && \
 	cd gdb-${version} && \
 	touch configure && \
-	patch -p1 < ${broot}/patches/gdb-ipv6.patch && \
-	patch -p1 < ${broot}/patches/gdb-target-debugging.patch
+	patch -p1 < ${broot}/patches/gdb-ipv6.patch
 
 ${staging}/lib/libiconv.a: ${source}/libiconv-${iconvversion}.tar.gz | makestagingdir
 	cd ${staging} && \
diff --git a/dist/gdb/Makefile.osx b/dist/gdb/Makefile.osx
index a41fe89161b7d1e9d1a9237a209f17d70af8acc2..328eedf537b91365bee40f28f6eb4d061fb87949 100644
--- a/dist/gdb/Makefile.osx
+++ b/dist/gdb/Makefile.osx
@@ -5,7 +5,7 @@ staging=${broot}/staging
 pyversion=2.7
 expatversion=2.0.1
 arch=`uname -sm | sed 's/ /-/g' | tr A-Z a-z`
-version=7.4
+version=7.4.1
 targetdir=${broot}/qtcreator-gdb-${version}
 gdbtargets=$(addprefix ${targetdir}/gdb-, ${targets})
 packagename=qtcreator-gdb-${version}-${arch}.tar.gz
diff --git a/dist/gdb/patches/gdb-ipv6.patch b/dist/gdb/patches/gdb-ipv6.patch
index d5abf5f6c4cec74340fff9d268e7f72a03a0670c..f51d51f1d8e926859be98a0c0bd017acc7b4441f 100644
--- a/dist/gdb/patches/gdb-ipv6.patch
+++ b/dist/gdb/patches/gdb-ipv6.patch
@@ -188,7 +188,7 @@ diff -rup gdb-7.4-clean/gdb/gdbserver/remote-utils.c gdb-7.4/gdb/gdbserver/remot
  
    port_str = strchr (name, ':');
    if (port_str == NULL)
-@@ -227,7 +265,23 @@ remote_prepare (char *name)
+@@ -227,8 +265,24 @@ remote_prepare (char *name)
        return;
      }
  
@@ -214,6 +214,7 @@ diff -rup gdb-7.4-clean/gdb/gdbserver/remote-utils.c gdb-7.4/gdb/gdbserver/remot
 +  if (port_str[1] == '\0')
      fatal ("Bad port argument: %s", name);
  
+ #ifdef USE_WIN32API
 @@ -241,24 +295,181 @@ remote_prepare (char *name)
      }
  #endif
diff --git a/dist/gdb/patches/gdb-target-debugging.patch b/dist/gdb/patches/gdb-target-debugging.patch
deleted file mode 100644
index efbd376290d7ee485c828fcd659da620155b21ec..0000000000000000000000000000000000000000
--- a/dist/gdb/patches/gdb-target-debugging.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- src/gdb/infcmd.c	2012/02/15 19:13:13
-+++ src/gdb/infcmd.c	2012/02/23 08:15:04
-@@ -1636,6 +1636,7 @@
- static void
- finish_forward (struct symbol *function, struct frame_info *frame)
- {
-+  struct frame_id frame_id = get_frame_id (frame);
-   struct gdbarch *gdbarch = get_frame_arch (frame);
-   struct symtab_and_line sal;
-   struct thread_info *tp = inferior_thread ();
-@@ -1653,7 +1654,7 @@
- 
-   old_chain = make_cleanup_delete_breakpoint (breakpoint);
- 
--  set_longjmp_breakpoint (tp, get_frame_id (frame));
-+  set_longjmp_breakpoint (tp, frame_id);
-   make_cleanup (delete_longjmp_breakpoint_cleanup, &thread);
- 
-   /* We want stop_registers, please...  */
diff --git a/dist/gdb/patches/gdb-work-around-trk-single-step.patch b/dist/gdb/patches/gdb-work-around-trk-single-step.patch
index 069bc82a78989d237dfa012c58caff907abf2557..c4ea88a4e643086e44773b76ca1af3ba130d99d7 100644
--- a/dist/gdb/patches/gdb-work-around-trk-single-step.patch
+++ b/dist/gdb/patches/gdb-work-around-trk-single-step.patch
@@ -9,7 +9,7 @@ this problem.
 
 --- a/gdb/infrun.c
 +++ b/gdb/infrun.c
-@@ -5061,9 +5061,9 @@ process_event_stop_test:
+@@ -5186,9 +5186,9 @@
        return;
      }